Commit graph

49 commits

Author SHA1 Message Date
joerg
c167fec2c2 DESTDIR support 2010-02-04 14:51:44 +00:00
joerg
c569c6a51f Mark packages as MAKE_JOBS_SAFE=no that failed in a bulk build with
MAKE_JOBS=2 and worked without.
2009-06-30 00:07:09 +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
he
b021813da0 Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
2008-10-19 19:17:40 +00:00
obache
236023b4ae Distfile is only available via ftp site.
Noticed by Zafer Aydogan via private mail.
It contains version number in file name. no need to use DIST_SUBDIR anymore.
2008-09-02 03:11:08 +00:00
dholland
4d2acc70fa Use -fPIC. Fixes broken build on amd64 and probably others. 2008-08-17 07:02:39 +00:00
obache
93e3841c3b Need perl to build. 2007-12-20 12:08:22 +00:00
wiz
768a49f2dd Update MASTER_SITES and/or HOMEPAGE, from Sergey Svishchev. 2006-10-04 21:47:16 +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
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
joerg
15a29f47ca Make it a bit harder for the compiler to optimise the sin() test
away: Use a global variable as argument.
2006-01-03 19:21:17 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
jlam
da6807f3c5 Fix the package configuration of the following packages so that they
will install Perl modules into the "vendor" directories:

	chat/vicq		math/udunits
	databases/rrdtool	mbone/beacon
	devel/p5-subversion

Bump their PKGREVISIONs.
2005-08-08 18:13:13 +00:00
jlam
7fbb8d9527 Bump the PKGREVISIONs of all (638) packages that hardcode the locations
of Perl files to deal with the perl-5.8.7 update that moved all
pkgsrc-installed Perl files into the "vendor" directories.
2005-08-06 06:19:03 +00:00
jlam
7a6521287b Turn PERL5_PACKLIST into a relative path instead of an absolute path.
These paths are now relative to PERL5_PACKLIST_DIR, which currently
defaults to ${PERL5_SITEARCH}.  There is no change to the binary
packages.
2005-07-13 18:01: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
snj
a8b8f34d9a No longer used. 2004-04-25 01:31:31 +00:00
jlam
cdc3f61df1 Fix the installation of udunits using perl58 by including module.mk
(to note that this package installs a Perl module).  While I'm here,
bl3ify the package.
2004-03-22 17:29:02 +00:00
kristerw
bee6e474e8 Fix a case where gcc3.3 is too clever for autoconf.
configure tries to determine if -lm is needed by compiling

   int main() {
   (void)sin(0.0);
   ; return 0; }

and see if linking fails.  But gcc3.3 optimizes that to just "return 0;"
2004-02-02 03:19:25 +00:00
kristerw
6792f6a5fe Update udunits to version 1.12.1.
Changes since version 1.11.7:

1.12.1  2003-12-01
  Corrected omission of file "lib/udunits.inc.in" from
  distribution.

  Ported to Mac OSX (I hope).

1.12.0  2003-08-29
  Corrected definition of "apothecary_pound".

  Corrected documentation of "common_year" in the units
  database.

  Modified the syntax of a couple of statements in
  file "src/utlib.c" to accomodate the, apparently,
  non-conforming C/SX C compiler on NEC SX-4 SUPER-UX
  systems, which can't dereference a pointer returned by a
  function.

  Added "mi" to database as alias for "mile".

  Corrected documentation on origin-shift in unit
  specifications.

  Ported to systems with sizeof(double) <
  sizeof(DOUBLE PRECISION).

  Added determination of Fortran type equivalent to C pointer
  to configuration script.

  Added utIsInit() and utisopen() to the API.

  Corrected Hertz symbol: changed from "hz" to "Hz".

  Corrected reference to udunits(3) library in udunitsperl(1)
  manual-page.

  Added support for Absoft Fortran.
2004-01-24 02:01:53 +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
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
jmmv
9f31d4da5d Use PKGNAME_NOREV instead of a temporary variable. 2002-12-24 18:56:08 +00:00
jmmv
89891d9632 Make udunits install its configuration file under the examples directory
and use bsd.pkg.install.mk to copy it to PKG_SYSCONFDIR.
Fix this package so that it can be cleaned as a regular user.
Bump PKGREVISION to 1.
2002-12-24 17:21:03 +00:00
wiz
f266045cfd Unused. 2002-10-08 19:31:05 +00:00
jlam
0ce68ec199 buildlink1 -> buildlink2 2002-09-29 06:56:18 +00:00
jlam
bc36e3accf udunits installs static libraries, so by default, use a build dependency. 2002-09-29 06:55:55 +00:00
jlam
efb93b17bd Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
2002-08-25 19:21:43 +00:00
jtb
6c84e5b562 Add buildlink infrastructure. 2002-05-03 22:59:53 +00:00
zuntum
98cf373d36 Move pkg/ files into package's toplevel directory 2001-11-01 00:32:23 +00:00
jlam
c4e71c5e7a CPPFLAGS is now passed to MAKE_ENV and CONFIGURE_ENV by bsd.pkg.mk, so
adapt by moving CPPFLAGS settings to top-level, and removing explicit
inclusion of CPPFLAGS into MAKE_ENV and CONFIGURE_ENV.
2001-06-11 06:34:17 +00:00
jtb
a394cf9c21 Regen. Fixes i386 bulk build problem. 2001-04-30 14:51:20 +00:00
jtb
b97c41dde3 Remove redundant echoing, quoting, and input redirection to sed. 2001-04-28 23:59:17 +00:00
jtb
d86de86589 Back out previous change. 2001-04-28 01:20:35 +00:00
jtb
c0e6026286 Fix man page installation oddity causing i386 bulk build leftover. 2001-04-28 00:32:28 +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
wiz
a13ea108bb Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:52:59 +00:00
jtb
e3e1abfdd7 Initial import of udunits:
Library and program for manipulating units of physical quantities
(There is also a Perl module, but that doesn't fit in 70 characters).
2001-02-07 04:31:39 +00:00