Commit graph

54 commits

Author SHA1 Message Date
kristerw
f00487a0f9 unused. 2004-05-29 16:28:09 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
drochner
34fb415599 fix amd64 inline assembler code to deal with 32-bit integers
passed to count_trailing_zeros()
2004-02-26 17:08:22 +00:00
seb
beb564ec34 Remove info files entries from PLIST. 2004-02-15 21:58:52 +00:00
jlam
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +00:00
jlam
f82e70315b This package uses C++. Also some reorg to improve readability. 2004-02-12 09:00:29 +00:00
jlam
3ac2d4b8aa In the new compiler selection framework, GCC_REQD is appended to, not
overridden.
2004-02-01 01:43:28 +00:00
jlam
a7d877ca6a Append to BUILDLINK_DEPENDS.<pkg> instead of setting a default value. In
the normal case when BUILDLINK_DEPENDS.<pkg> isn't specified, it receives
a value only once due to the multiple inclusion protection in the
bulldlink3.mk files.  In the case where a package includes several
buildlink3.mk files that each want a slightly different version of another
dependency, having BUILDLINK_DEPENDS.<pkg> be a list allows for the
strictest <pkg> dependency to be matched.
2004-01-24 03:26:45 +00:00
jlam
5ae63b68fd bl3ify 2004-01-19 13:15:52 +00:00
kristerw
1f71058558 Add the gmpxx lib and .h files. 2003-12-30 23:24:45 +00:00
salo
82caa48605 Add math to CATEGORIES.
Style nits.
2003-12-02 21:57:26 +00:00
kristerw
56f7da05e0 The configure script thinks gcc 2.95 for ARM is too buggy to use,
so require gcc 3 for arm.
2003-10-28 22:33:57 +00:00
grant
4c205ffd00 use tools.mk for GNU m4.
move a line for clarity.
2003-09-27 15:09:05 +00:00
grant
7c6d577bdf add USE_GCC_SHLIB, reorder some lines a bit for clarity. 2003-09-17 16:24:37 +00:00
heinz
88cf5f7621 Add correct TEST_TARGET 2003-08-21 20:09:29 +00:00
seb
8d15907ec2 USE_NEW_TEXINFO is unnecessary now. 2003-08-09 10:38:23 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
seb
331973aa91 Convert to USE_NEW_TEXINFO. 2003-06-23 10:57:27 +00:00
mycroft
5d3ea311dd Update to gmp 4.1.2. Many changes, but the relevant bug fixes seems to be:
* mpn/generic/rootrem.c: In Newton loop, pad qp with leading zero.

	* mpn/generic/rootrem.c: Allocate 1.585 (log2(3)) times more space
        for pp temporary to allow for worst case overestimate of root.
	Add some asserts.

	* tests/mpz/t-root.c: Generalize and speed up.

        * mpfr/pow.c: Fixed bug (infinite loop) for exact powers.

	* mpfr/sub.c: Fixed wrong inexact flag for a - b where a and b are of
        different signs and EXP(a) < EXP(b).

	* printf/printffuns.c (gmp_fprintf_reps): Make it actually work
	for padding > 256.

        * gmp-impl.h (USE_LEADING_REGPARM): Disable for PIC code generation.

	* mpn/generic/tdiv_qr.c: Remove a bogus assert.

	* mpn/generic/mode1o.c, mpn/alpha/ev5/mode1o.c: Correction to ASSERTs.
	Reported by Christoph Ludwig.

	* mpf/urandomb.c: Truncate nbits to precision of rop.

	* configure.in (sparc v9 *bsd*): Add NetBSD and OpenBSD sparc64.
	(x86 openbsd*): Extra underscore for _GLOBAL_OFFSET_TABLE_.

	* mpn/generic/rootrem.c: Avoid overflow in xnb calculation.
	* mpz/root.c: Avoid overflow in rootnb calculation.

	* gmpxx.h (__gmp_binary_equal, __gmp_binary_not_equal): Fix broken
	mpq/double functions.

	* mpn/m68k/lshift.asm: Fix typo in !scale_available_p code.
        * mpn/m68k/rshift.asm: Likewise.

	* mpz/remove.c: Make src==0 return 0, not do DIVIDE_BY_ZERO.

	* mpfr/acinclude.m4 (MPFR_CONFIGS): Patch by Vincent for an apparent
	float rounding gremlin on powerpc.

	* mpf/inp_str.c: Fix returned count of chars read, reported by Paul
	Zimmermann.  Also fix a memory leak for invalid input.

	* mpfr/set_q.c: Allow for 1 bit numerator or denominator.
2003-02-21 12:25:22 +00:00
hubertf
6c7fb30842 fix dependency for m4 2003-01-02 20:30:59 +00:00
wiz
a4ec645faa Unused. 2002-10-09 19:45:53 +00:00
jlam
08fc1a448c Add a buildlink2.mk based on the existing buildlink.mk one. 2002-08-27 06:23:53 +00:00
jlam
1c57323789 Merge packages from the buildlink2 branch back into the main trunk that
have been converted to USE_BUILDLINK2.
2002-08-25 21:48:57 +00:00
mjl
a1f4abf7ef Update to 4.1
* Bug fixes.
* Speed improvements.
* Upwardly binary compatible with 4.0, 4.0.1, and 3.x versions.
* Asymptotically fast conversion to/from strings (mpz, mpq, mpn levels), but
  also major speed improvements for tiny operands.
* mpn_get_str parameter restrictions relaxed.
* Major speed improvments for HPPA 2.0 systems.
* Major speed improvments for UltraSPARC systems.
* Major speed improvments for IA-64 systems (but still sub-optimal code).
* Extended test suite.
* mpfr is back, with many bug fixes and portability improvements.
* New function: mpz_ui_sub.
* New functions: mpz_export, mpz_import.
* Optimization for nth root functions (mpz_root, mpz_perfect_power_p).
* Optimization for extended gcd (mpz_gcdext, mpz_invert, mpn_gcdext).
* Generalized low-level number format, reserving a `nails' part of each
  limb.  (Please note that this is really experimental; some functions
  are likely to compute garbage when nails are enabled.)
* Nails-enabled Alpha 21264 assembly code, allowing up to 75% better
  performance.  (Use --enable-nails=4 to enable it.)
2002-08-24 00:39:06 +00:00
fredb
2c2c66c485 Make this compile with gas-2.11.2/m68k/ELF (NetBSD-1.5ZC/mac68k). 2002-05-10 05:06:22 +00:00
jschauma
f21a14f365 Build C++ library, too.
(Commit approved by hubertf)
2002-04-12 14:12:18 +00:00
hubertf
40d8739477 Update gmp to 4.0.1. Changes:
* Bug fixes.
* Speed improvements.
* Upwardly binary compatible with 3.x versions.
* New CPU support: IA-64, Pentium 4.
* Improved CPU support: 21264, Cray vector systems.
* Support for all MIPS ABIs: o32, n32, 64.
* New systems supported: Darwin, SCO, Windows DLLs.
* New divide-and-conquer square root algorithm.
* New algorithms chapter in the manual.
* New malloc reentrant temporary memory method.
* New C++ class interface by Gerardo Ballabio (beta).
* Revamped configure, featuring ABI selection.
* Speed improvements for mpz_powm and mpz_powm_ui (mainly affecting small
  operands).
* mpz_perfect_power_p now properly recognizes 0, 1, and negative perfect
  powers.
* mpz_hamdist now supports negative operands.
* mpz_jacobi now accepts non-positive denominators.
* mpz_powm now supports negative exponents.
* mpn_mul_1 operand overlap requirements relaxed.
* Float input and output uses locale specific decimal point where available.
* New gmp_printf, gmp_scanf and related functions.
* New division functions: mpz_cdiv_q_2exp, mpz_cdiv_r_2exp, mpz_divexact_ui.
* New divisibility tests: mpz_divisible_p, mpz_divisible_ui_p,
  mpz_divisible_2exp_p, mpz_congruent_p, mpz_congruent_ui_p,
  mpz_congruent_2exp_p.
* New Fibonacci function: mpz_fib2_ui.
* New Lucas number functions: mpz_lucnum_ui, mpz_lucnum2_ui.
* Other new integer functions: mpz_cmp_d, mpz_cmpabs_d, mpz_get_d_2exp,
  mpz_init2, mpz_kronecker, mpz_lcm_ui, mpz_realloc2.
* New rational I/O: mpq_get_str, mpq_inp_str, mpq_out_str, mpq_set_str.
* Other new rational functions: mpq_abs, mpq_cmp_si, mpq_div_2exp,
  mpq_mul_2exp, mpq_set_f.
* New float tests: mpf_integer_p, mpf_fits_sint_p, mpf_fits_slong_p,
  mpf_fits_sshort_p, mpf_fits_uint_p, mpf_fits_ulong_p, mpf_fits_ushort_p.
* Other new float functions: mpf_cmp_d, mpf_get_default_prec, mpf_get_si,
  mpf_get_ui, mpf_get_d_2exp.
* New random functions: gmp_randinit_default, gmp_randinit_lc_2exp_size.
* New demo expression string parser (see demos/expr).
* New preliminary perl interface (see demos/perl).
* Tuned algorithm thresholds for many more CPUs.
2002-04-10 12:37:53 +00:00
seb
66111c6d15 Introduce new framework for handling info files generation and installation.
Summary of changes:
- removal of USE_GTEXINFO
- addition of mk/texinfo.mk
- inclusion of this file in package Makefiles requiring it
- `install-info' substituted by `${INSTALL_INFO}' in PLISTs
- tuning of mk/bsd.pkg.mk:
    removal of USE_GTEXINFO
    INSTALL_INFO added to PLIST_SUBST
    `${INSTALL_INFO}' replace `install-info' in target rules
    print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info'
- a couple of new patch files added for a handful of packages
- setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it
- devel/cssc marked requiring texinfo 4.0
- a couple of packages Makefiles were tuned with respect of INFO_FILES and
  makeinfo command usage

See -newly added by this commit- section 10.24 of Packages.txt for
further information.
2002-02-18 15:14:00 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
jlam
d2eb68d2a6 Add dir_DEFAULT setting used by EVAL_PREFIX logic to set the default
installation directory in case the package isn't installed.
2001-07-27 13:33:18 +00:00
jlam
7b1d3cb465 Mechanical changes to buildlink.mk files to use EVAL_PREFIX to set
BUILDLINK_PREFIX.<pkgname>.  This allows buildlink to find X11BASE packages
regardless of whether they were installed before or after xpkgwedge was
installed.  Idea by Alistair Crooks <agc@pkgsrc.org>.
2001-07-20 01:54:31 +00:00
jlam
cb6aa0c83c Mark as USE_BUILDLINK_ONLY. 2001-07-02 16:46:02 +00:00
jlam
cb76bd5efc Move inclusion of bsd.buildlink.mk to start of file. 2001-07-01 22:59:08 +00:00
jlam
34d11d8a0f Generalize how the dependency pattern may be specified. Instead of just
FOO_REQD=1.0 being converted to foo>=1.0, one can now directly specify
the dependency pattern as FOO_DEPENDS=foo>=1.0.  This allows things like
JPEG_DEPENDS=jpeg-6b, or fancier expressions like for postgresql-lib.
Change existing FOO_REQD definitions in Makefiles to FOO_DEPENDS.
2001-06-23 19:26:48 +00:00
jlam
072be2ad69 Use bsd.buildlink.mk instead of duplicating code all over the place. 2001-06-11 01:59:33 +00:00
jlam
5d02f04b3a Use cookies (.*_done) to determine whether headers and libs have been
linked from a particular package, and add a pre-configure target to
the buildlink.mk file to more painlessly use buildlink.mk files.  A
${BUILDLINK_TARGETS} variable still exists in case a package _must_
define NO_CONFIGURE.
2001-06-10 00:09:29 +00:00
jlam
15fbb91bd6 Add buildlink.mk file to link appropriate libraries and headers into
${BUILDLINK_INCDIR} and ${BUILDLINK_LIBDIR}, to be used by other packages.
2001-05-28 05:38:04 +00:00
wiz
dfb2d5edc6 Move to sha1 digests, and/or add distfile sizes. 2001-04-21 00:44:09 +00:00
agc
d7d36b3561 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 10:57:56 +00:00
hubertf
e32afb6fea Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@netbsd.org>
2001-03-27 03:19:43 +00:00
wiz
aebdc90c52 Use GNU m4; on macppc, NetBSD m4 seems to have a problem here. 2001-02-23 14:15:28 +00:00
wiz
94dc65fbec Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 14:38:16 +00:00
agc
9c2d582fc9 The way that shared objects were handled in the PLISTs and bsd.pkg.mk was
out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.

+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt

With many thanks to Thomas Klausner for keeping me honest with this.
2001-01-04 15:10:17 +00:00
skrll
d29ea4a428 Update to 3.1.1.
Split patch-aa into a patch per file while I'm here.
2000-12-31 14:05:29 +00:00
mycroft
dd89664591 Fix a stupid underscore problem on arm32. 2000-11-17 07:21:54 +00:00
danw
4379713c83 Update to gmp-3.0.1, including new functions, autoconf/libtool support,
and a shared version of the library.
2000-06-30 16:52:53 +00:00
wiz
7dbb74820a RCS tag added 1999-12-28 05:00:41 +00:00
tron
4cb25d84a0 Use "${MASTER_SITE_GNU}" instead of hard coding "ftp.gnu.org". 1999-12-26 18:07:19 +00:00
jlam
aab505b76e Make this work on i386 with ELF. 1999-07-16 21:12:57 +00:00
jlam
17875267bd Update patch checksums. 1999-07-16 21:11:56 +00:00