Commit graph

86 commits

Author SHA1 Message Date
joerg
75fc561a65 Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 21:28:46 +00:00
joerg
73ae0afd90 Remove @dirrm entries from PLISTs 2009-06-14 18:17:11 +00:00
zafer
c18185d62f only openjade is mirrored at u-aizu. removed. 2009-05-01 14:56:45 +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
bjs
9e8da69869 Add MAKE_JOBS_SAFE after noticing a the build wanted a library
it had yet to make.
2008-08-19 13:53:27 +00:00
joerg
f633e95062 Add DESTDIR support, fixing normal installation as well. 2008-03-15 20:29:35 +00:00
tnn
e99aec31b2 PR 37949: Aleksey Cheusov: USE_TOOLS needs to be fixed in several packages 2008-02-04 19:52:54 +00:00
wiz
ed4ded9422 Do not unconditionally remove share/sgml/jade, tex-jadtex uses it too.
Bump PKGREVISION.
2007-01-24 19:45:09 +00:00
rillig
7ea0ff755c Fixed some pkglint warnings. 2006-09-02 08:38:07 +00:00
rillig
5d2e28f08b There is no package called "sp", so remove the useless paragraph. 2006-09-02 08:37:28 +00:00
jlam
7af716330d Drop support for LTCONFIG_OVERRIDE. For quite a long time, pkgsrc
had actually been ignoring LTCONFIG_OVERRIDE anyway and just using
the default LIBTOOL_OVERRIDE to replace libtool scripts in packages.
This just formalizes the fact that LTCONFIG_OVERRIDE is not used
meaningfully by pkgsrc.
2006-07-19 19:14:37 +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
11993b86ed Bump PKGREVISION for all packages that had broken INSTALL/DEINSTALL
scripts prior to revision 1.43 of bsd.pkginstall.mk.
2006-03-21 06:00:43 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
jmmv
9891f767a4 Fix build under Mac OS X:
- Properly instantiate required templates.
- Properly detect some functions (such as strtoul).
- Do not use unavailable Mach threads.
2006-01-20 11:36:18 +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
minskim
5cfafe74df Remove empty files generated through distribution patches at
post-patch, rather than install and delete at post-install.
2005-05-30 14:43:03 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
c71cac836a Add RMD160 digests to the SHA1 ones. 2005-02-24 14:48:39 +00:00
tv
82de3b9fd0 Add GCC_REQD for Interix -- it's currently generating broken C++ global
ctors and dtors.
2005-01-25 20:26:06 +00:00
wiz
3b30c2e228 avoid installing files generated through distribution patches 2004-11-26 12:24:40 +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
grant
0872fa7055 s/netbsd.org/NetBSD.org/i 2004-05-12 21:56:52 +00:00
snj
af4426af25 Add buildlink3.mk to fix gtk-doc. 2004-04-27 04:05:41 +00:00
wiz
fa60c4cab8 Unused. 2004-04-27 00:44:37 +00:00
recht
d574e01134 bl3ify 2004-04-26 10:34:09 +00:00
bouyer
391e366497 These packages use c++, so add USE_LANGUAGES= c c++ 2004-03-19 08:34:01 +00:00
grant
60ad86155b replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 15:06:57 +00:00
jmmv
39bd9e1ae9 Bump PKGREVISION due to xmlcatmgr update to 2.0beta1 2004-01-23 17:18:31 +00:00
cjep
d6958d265e Locally mirror jade_1.2.1-18.diff.gz as this has gone from the Debian site.
(cf. PR#23632).

XXX We should probably update jade to use jade_1.2.1-38.diff.gz
2004-01-04 18:34:31 +00:00
sketch
285f3a5771 Don't rely on xargs behaviour to pass arguments correctly to rm, instead
execute if necessary directly from find.  Fixes breakage on systems
which output "blah" from $(echo | xargs echo "blah") (Solaris, Linux, ..)
2003-12-16 11:30:57 +00:00
kristerw
eac7b88330 Arm need to instantiate Vector<size_t> in order to build. 2003-10-09 22:14:13 +00:00
tron
a05c6a2985 Add patches from the FreeBSD ports collection to fix build problems
with GCC 3.3.1.
2003-09-21 20:03:52 +00:00
wiz
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +00:00
jmmv
8731c91251 Use MASTER_SITE_DEBIAN. 2003-06-05 17:20:26 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
jmmv
7802dd13ca Use textproc/xmlcatmgr/catalogs.mk to register the installed catalog, with
the SGML_CATALOGS variable.  Bump PKGREVISION.
2003-01-29 21:38:48 +00:00
jmmv
9c7ef02e06 Register the provided catalog file in share/sgml/catalog using xmlcatmgr.
Bump PKGREVISION to 5.
2003-01-11 23:57:00 +00:00
jschauma
8473122b88 Make this compile on Irix. 2002-12-23 20:05:07 +00:00
tron
f1b0547621 The directory "share/sgml" is shared between multiple packages. Don't
complain if it cannot be removed.
2002-12-06 23:15:05 +00:00
tron
ec04a4c6f1 Backout latest change. It was apparently only necessary because of some
kind of bug in NetBSD-current.
2002-12-06 19:33:50 +00:00
tron
b4d25dbfef Add work arround for problem in buildlink2 framework which makes libtool's
attempt to relink the shared libraries fail.
2002-12-04 07:59:36 +00:00
wiz
b7cce96b95 Unused. 2002-10-09 23:43:34 +00:00
mycroft
34aca00b6b Fix this for LP64 systems by meta-patching the Debian patches to switch off
_LP64 (which we use), rather than SIZEOF_SIZE_T==8 (which is only defined in
the Debian build goo).  Really, the right answer is to add an autoconf test --
or fix the crappy language.
2002-09-16 15:00:19 +00:00
jlam
e2afa97f51 Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
2002-08-25 18:38:05 +00:00