Commit graph

37 commits

Author SHA1 Message Date
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
heinz
4affdcc56f Added support for installation to DESTDIR. 2008-01-03 23:15:47 +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
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
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
minskim
8c1170628f Enable pkgviews installation. Patches provided by Joachim Kuebart on
tech-pkg@.
2005-02-23 04:09:50 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +00:00
wiz
fa60c4cab8 Unused. 2004-04-27 00:44:37 +00:00
snj
a55ac61c4a Convert to buildlink3. 2004-04-16 21:27:22 +00:00
grant
c6bdbfed93 don't override CC in Makefiles, it's already defined in MAKE_ENV.
fixes build with non-gcc.
2004-01-29 11:49:50 +00:00
agc
dc52048e01 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:07:06 +00:00
fredb
b8a9c642b2 Check for __STDC_HOSTED__ to see whether or not to use prototypes and
<stdargs.h>, as well as __STDC__, so this'll build with gcc-3.2.2.
2003-11-09 06:15:24 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +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
grant
cf12a2f4f0 fix MAINTAINER= Name <email> to only include email address. 2002-11-10 00:35:07 +00:00
wiz
95749a8854 Fix BUILDLINK_DEPMETHOD (no quotes supported here). 2002-10-31 15:49:26 +00:00
wiz
dfc073ce47 Add buildlink2.mk 2002-09-12 00:25:17 +00:00
jlam
e7de7e8840 Use the default EXTRACT_CMD instead of a hand-crafted one, as the default
is sufficient.
2002-02-25 04:47:21 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
wiz
dfb2d5edc6 Move to sha1 digests, and/or add distfile sizes. 2001-04-21 00:44:09 +00:00
agc
86e2ccf167 Move to sha1 digest, and add distfile size 2001-04-18 10:01:41 +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
wiz
5de11cd51a Remove duplicate BUILD_DEPENDS for unzip (bsd.pkg.mk has an automatic one
if EXTRACT_SUFX is .zip); also remove EXTRACT_CMDs that are the same as
the implicit one.
2001-02-20 11:40:07 +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
david
8de9504c84 Package uses distfile with full release version to avoid
problems when a new maintainence release comes out from now on.
2000-06-17 18:02:47 +00:00
agc
8ec6999a53 Place the distfile in its own unique directory, since maintenance
release numbers are not added to the distfile name.
2000-04-26 15:42:55 +00:00
itohy
8c9a2a8a3c distfile updated on the master site (Version 1.33 Maintenance Release #22) 2000-04-04 02:17:10 +00:00
agc
f46cbb3633 Make this package work on Solaris. 2000-03-20 16:55:37 +00:00
wiz
2e11b55342 updated PKGNAME to reflect version number change in distfile 2000-02-18 20:28:37 +00:00
tron
5a5ff39308 Fix checksum for "pccts133mr.zip". 2000-02-18 19:20:45 +00:00
wiz
d6308e1f1e Initial import of the Purdue Compiler-Compiler Tool Set, needed by
cdrdao.

Package provided by David Maxwell <david@fundy.ca> in private mail.
2000-02-18 15:00:36 +00:00