Commit graph

51 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
joerg
f605fec2db Mark as destdir ready. 2008-07-14 12:55:56 +00:00
drochner
1c62ee22ec fix unsafe temp file creation (CVE-2007-4460), patch from Debian
bump PKGREVISION
2007-09-04 09:58:20 +00:00
rillig
7d4a6ee48b Added a patch for sunpro on Solaris. 2007-01-20 01:04:04 +00:00
wiz
03fcf967f4 Two functions had missing arguments. Patch from stoned@
Fixes problems in amarok (and probably other dependencies).

Bump PKGREVISION.
2006-09-23 13:26:24 +00:00
ben
2b18abeced Fix the writing of unicode tags. bump pkgrevision. Addresses PR#34515.
http://sourceforge.net/tracker/index.php?func=detail&aid=1016290&group_id=979&atid=300979

Patch adapted for pkgsrc by George Michaelson.
2006-09-13 12:06:28 +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
rillig
8700b428d5 Changed #defined to yes in GNU_CONFIGURE and USE_LIBTOOL. 2005-05-31 21:56:37 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
71c8259803 Add RMD160 digests to the SHA1 ones. 2005-02-23 20:39:42 +00:00
minskim
c89efadc3b Enable pkgviews installation. 2004-11-17 17:46:21 +00:00
minskim
cb8e287bba Make this package build with gcc-3.4. 2004-11-17 17:42:05 +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
wiz
61331906e4 Unused. 2004-04-25 00:12:23 +00:00
jlam
acebb9db3c Using c++ implies USE_GCC_SHLIB if we're using GCC. 2004-03-23 05:39:23 +00:00
jlam
326169077a USE_BUILDLINK3 must be set to "yes" or "no", not defined/undefined. 2004-03-23 04:40:59 +00:00
jlam
7db11b582a Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly
by moving the inclusion of buildlink3.mk files outside of the protected
region.  This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.

BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list.  This ordering property is used to check for builtin
packages in the correct order.  The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end.  However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-18 09:12:08 +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
minskim
f6570a72c7 bl3ify 2004-02-16 01:33:37 +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
abs
a1d0b1b68b USE_LANGUAGES=c c++ 2004-02-11 01:46:30 +00:00
jlam
bbdd151ce7 BUILDLINK_DEPENDS.<pkg> lines should _always_ use += to _append_ to the
existing value.  This is critical to set the correct list of dependencies
for a package.
2004-02-09 23:56:32 +00:00
chris
22ed10548c Add missing buildlink3 glue code for this package. 2004-02-08 17:08:13 +00:00
skrll
49714924ad Missed a PLIST that needed fixing after the libtool 1.5.2 update.
Noted by Chris Gilbert
2004-02-07 22:09:02 +00:00
martti
ff0278ea30 COMMENT should start with a capital letter. 2003-07-21 16:24:36 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
rafal
bf7243f55e Let this build with gcc3 (by adding USE_GCC_SHLIB and a hack to CPPFLAGS
so the build doesn't fall over with undefined template types); tested on
gcc3/netbsd-sparc64 (me) and gcc2/netbsd, gcc3/sol9 (grant).
2003-06-30 18:06:47 +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
wiz
0466708f6e Update to 3.8.3:
This is a bug fix release. Use it. Dont use previous versions. The
ChangeLog provides more in detail which changes have been made.
[ChangeLog details minor various bug fixes.]
2003-03-05 12:49:21 +00:00
schmonz
50a4971577 Update to 3.8.2. Mostly minor bugfixes, but also added support for
streaming media (using an overloaded function of Link()) and support
for getting bitrate of vbr files.
2002-11-26 21:56:32 +00:00
jlam
df3fc09af5 Note dependence on zlib. 2002-10-03 22:45:05 +00:00
jlam
30f91bea30 Use buildlink2. 2002-10-03 08:43:00 +00:00
wiz
1b4b8afdf7 Not needed any longer. 2002-08-31 02:45:30 +00:00
wiz
6b856c6ffe Update to 3.8.0.
Lots of build fixes and other bug fixes.
2002-08-31 01:56:56 +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
abs
2b325a79cd prdownloads.sourceforge.net is no longer any use.
Switch to MASTER_SITE_SOURCEFORGE.
2002-05-12 10:16:44 +00:00
wiz
25b1faaeb8 Correct package name in comment. pkg/16399 by Julio Merino. 2002-04-18 14:34:18 +00:00
drochner
ca77633070 solve the strings.h problem in a better way -
The library contains a header file "strings.h" which gets pulled in
by <string.h>, leading to lossage. Defining ANSI_SOURCE used to help,
but now we don't get an mkstemp() prototype anymore if this is defined,
leading to compile problems at another place...
So finally rename the pkg's strings.h.
Being here, update to ...pre2, the changelog is
* Many bug fixes -- mostly compilation problems -- more detailed info will be
  provided in a later release.
2002-01-08 17:49:12 +00:00
itohy
33504428cb Make it compile on alpha (uint32 -> size_t for size_type). 2001-11-17 06:26:44 +00:00
zuntum
0ca28723fb Move pkg/ files into package's toplevel directory 2001-11-01 00:11:36 +00:00
drochner
d8bacde157 this patch was superfluous 2001-08-10 10:37:45 +00:00
wiz
e68c248c58 Add sha1 for patch-ad. 2001-08-09 19:38:22 +00:00
wiz
1ab913a92c make the PKGNAME dewey-compatible. 2001-08-03 17:05:16 +00:00
wiz
fb52df3035 Add buildlink file for use by other packages. 2001-08-03 17:03:30 +00:00
drochner
1f15175c4a remove unnecessary patch 2001-08-02 17:39:16 +00:00