Commit graph

38 commits

Author SHA1 Message Date
asau
1807ff2338 Recursive revision bump for GMP update, 2nd part. 2010-03-24 21:54:15 +00:00
asau
00708ce7e3 Recursive revision bump for GMP update. 2010-03-24 19:43:21 +00:00
joerg
7c47171b75 Always call libtool with the right --mode option. DESTDIR support. 2009-12-03 17:48:58 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
obache
e896edb7fe Rename variable MAKEFILE to MAKE_FILE. 2006-09-09 02:41:53 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
joerg
28c80770e4 Uses C++. 2006-06-04 11:27:44 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
rillig
5946936ffc Replaced "# defined" with "yes" in Makefile variables like GNU_CONFIGURE,
NO_BUILD, USE_LIBTOOL.
2005-09-28 20:52:18 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
1e46c076aa Add RMD160 digests in addition to SHA1 ones. 2005-02-23 12:06:53 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
snj
616d329c3f Convert to buildlink3. 2004-04-14 00:00:19 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
jmc
c47d204638 Including gmp's buildlink2.mk won't do much without USE_BUILDLINK2 enabled... 2003-05-11 22:16:10 +00:00
jtb
8c728ccb44 Remove superfluous DEPENDS line - inclusion of gmp/buildlink2.mk
takes care of that.
2003-04-30 00:14:00 +00:00
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00
jtb
6bb7ad0df9 Update to version 5.3.1.
Changes between NTL 5.3 and 5.3.1

   * Fixed  a  bug  affecting  the  BuildIrred  routines for ZZ_pEX and
     zz_pEX.

Changes between NTL 5.2 and 5.3

   * Minimized  and  isolated  constructs  that  do not adhere to C/C++
     standards,  and  added flags NTL_CLEAN_INT and NTL_CLEAN_PTR which
     force stricter compliance with these standards.
   * Added  functions  IsWhiteSpace,  CharToIntVal, and IntValToChar to
     the tools module.
   * Added methods allocated, position1 to generic vector classes.
   * Added method allocated to the class vec_GF2.
   * Added conversion  routines  from  unsigned int/long to int, long,
     float, and double.
   * Added  routines  AddPrec,  SubPrec,  etc.,  to  the RR module, and
     declared  the  practice  of  directly  assigning  to  the variable
     RR::prec obsolete.
   * Fixed a number of minor bugs.

Changes between NTL 5.1a and 5.2

   * Implemented   Mark  van  Hoeij's  new  algorithm  for  factorining
     polynomials with rational coefficients. This new algorithm is much
     more efficient than the previous algorithm used by NTL, and is the
     default  (one can switch back to the old algorithm with a run-time
     switch).
   * Added  routines  LLL_plus  that  are just like the all-integer LLL
     routines,  except that they return the exact values of the squared
     lengths  of  the  Gramm-Schmidt  basis  vectors. This is useful in
     implementing van Hoeij's algorithm.
   * Made  a  small change to quad_float.c to make it compile under gcc
     version  3.0  without errors. This is the one place in NTL where I
     resort  to  just  a  little  assmebly  code (but only on x86/Linux
     platforms),  and wouldn't you know it, this is the one place where
     gcc 3.0 had problems.
   * Made   a   small   change   to  the  procedure  for  generating  a
     distribution,  so  that now all files in the "tar" file comprising
     the  distribution  come  without  any  annoyingly excessive access
     control restrictions.
   * Changed  the  version numbering scheme so that it is now closer to
     "standard practice". This is version "5.2". Any small bug fixes to
     this version will be named "5.2.1", "5.2.2", etc. Also, macros are
     now defined so that the numerical components of the version number
     are available to the programmer.
2003-03-02 09:04:03 +00:00
zuntum
98cf373d36 Move pkg/ files into package's toplevel directory 2001-11-01 00:32:23 +00:00
jtb
69cd7b797a Update of ntl to 5.1a. Change build system to use libtool for
shared libraries.

  Changes between NTL 5.0c and 5.1a

   Some minor fixes and additions.

   Completely backward compatible.

     * Added  a  routine  LatticeSolve() for finding integer solutions to
       linear systems of integer equations.
     * Modified the stragey used by the LLL() and image() routines in the
       LLL  package to deal with linear dependencies. The new strategy
       guarantees  better  worst-case bounds on the sizes of intermediate
       values. I'm not sure if it will have any serious practical impact,
       though.
     * Added  some  "partial  ISO  modes" so that one can use some of the
       features  of  Standard  C++,  even  if  ones compiler does not yet
       support all of the features.
     * Bug  fix: routine determnant() in mat_GF2.h was not visible to the
       linker because of a typo in mat_GF2.c.
     * Made a "smarter" script for selecting the GetTime() function. This
       fixes  an  installation  problem on Cygwin/Windows 95 platforms. I
       hope it doesn't create more problems than it solves, though.
     * Added  some  extra documentation for installation under Windows/MS
       Visual C++.
     * Changed some names like c_lip.c to c_lip_impl.h. This should avoid
       some potential installation problems.
     * Throw  away  first 256-bytes of arc4 streams to improve quality of
       the  pseudo-random  number  generator. This may change the precise
       behavior of some programs.
     * Other minor, internal modifications.
2001-06-20 10:19:27 +00:00
jtb
4dec00fdaa Add defaults for all instances of EVAL_PREFIX. 2001-05-03 22:16:50 +00:00
agc
fa5c767d84 Move to sha1 digests, and add distfile sizes. 2001-04-19 08:45:37 +00:00
agc
9e8d6c8b8d + 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 11:33:31 +00:00
jtb
eb0cef2016 Change MAINTAINER section to packages@netbsd.org 2001-04-14 21:43:38 +00:00
jtb
435c372b9d Use BSD_INSTALL_* in preference to passing INSTALL_* through MAKE_ENV. 2001-04-13 00:45:04 +00:00
wiz
a13ea108bb Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:52:59 +00:00
jtb
e34ad47834 Needs gmp>=3.1.1 2001-01-29 21:45:43 +00:00
jtb
94f299c7aa Regen. 2001-01-29 06:59:01 +00:00
jtb
e3fdc4dda6 Use GMP as the primary long integer package. 2001-01-29 06:53:28 +00:00
jtb
2e20a7ba16 Fixed a typo. 2001-01-28 01:51:38 +00:00
jtb
ee4bf34d01 Initial import of new "ntl" package:
C++ library for doing number theory

NTL is a high-performance, portable C++ library providing data
structures and algorithms for arbitrary length integers; for vectors,
matrices, and polynomials over the integers and over finite fields;
and for arbitrary precision floating point arithmetic.

NTL provides high quality implementations of state-of-the-art algorithms for:

   o arbitrary length integer arithmetic and arbitrary precision
     floating point arithmetic;
   o polynomial arithmetic over the integers and finite fields
     including basic arithmetic, polynomial factorization,
     irreducibility testing, computation of minimal polynomials,
     traces, norms, and more;
   o lattice basis reduction, including very robust and fast
     implementations of Schnorr-Euchner, block Korkin-Zolotarev
     reduction, and the new Schnorr-Horner pruning heuristic for block
     Korkin-Zolotarev;
   o basic linear algebra over the integers, finite fields, and
     arbitrary precision floating point numbers.

NTL is free software, and may be used according to the terms of the
GNU General Public License.
2001-01-26 23:46:21 +00:00