Commit graph

57 commits

Author SHA1 Message Date
heinz
d653ce6a74 Added LICENSE information. 2010-01-24 17:11:17 +00:00
manu
0529d18242 Leave over maintainership to pkgsrc-users 2009-03-22 04:53:38 +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
rillig
7f125459d8 Removed some code duplication from the buildlink3 files by using the new
pkg-build-options.mk procedure.
2007-05-30 08:54:28 +00:00
joerg
b28fb5fdd7 Switch to modular buildlinks. 2006-11-06 11:25:54 +00:00
joerg
f75176b39c Flag a number of packages I use as supporting (user-)destdir.
apg is a bit special as it has some hardcoded ownership, so
mark that as "destdir".
2006-10-09 12:52:34 +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
739ade02f5 List the info pages directly in the PLIST and ensure that we honor
PKGINFODIR.
2006-03-31 23:56:28 +00:00
jlam
11a4af3693 * Avoid an unnecessary SUBST_FILES class by using environnment variables
to accomplish the same thing.

* Move the arm compiler hack into a hacks.mk file.
2006-03-31 17:11:54 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
wiz
5a21f56728 Remove obsolete file. Noted by Leonard Schmidt in private mail. 2005-12-12 10:40:27 +00:00
wiz
7e1c5bfbc9 Convert aalib to options framework, adding an 'x11' option, and remove
aalib-x11 and aview-x11.
SDL dependencies change, so bump PKGREVISION (and BUILDLINK_RECOMMENDED)
for affected packages.

Addresses PR 32046 by Leonard Schmidt.
2005-12-11 09:40:37 +00:00
wiz
63bc8e3278 Fix AC_DEFUN argument quoting for automake 1.8 and newer. Addresses
part of PR 30053.  No PKGREVISION bump because most people won't
care.
2005-04-27 08:57:00 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
5323e5f21b Update to 1.4.0.5: minor undocumented changes. 2005-03-29 14:28:05 +00:00
agc
6a7b384635 Add RMD160 digests 2005-02-24 08:45:01 +00:00
minskim
8c1170628f Enable pkgviews installation. Patches provided by Joachim Kuebart on
tech-pkg@.
2005-02-23 04:09:50 +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
c32fc02e2e Unused. 2004-05-03 13:08:58 +00:00
reed
672069e299 Make sure doesn't build with slang support.
(I am using LOCALBASE as /usr and later noticed that gphoto2
wants libslang due to this aalib. aalib is one of the very
rare situations where it brings in extra support for me.)
2004-04-13 05:02:01 +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
seb
7f84fef77a Remove info files entries from PLIST. 2004-02-17 16:35:03 +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
xtraeme
51bae23b80 bl3ify and replace LTCONFIG_OVERRIDE with LIBTOOL_OVERRIDE. 2004-02-11 08:44:23 +00:00
jlam
3ac2d4b8aa In the new compiler selection framework, GCC_REQD is appended to, not
overridden.
2004-02-01 01:43:28 +00:00
heinz
18a916d5e6 Use $FIND with "-print". Noted by Georg Schwarz in PR pkg/24248 2004-01-27 00:53:10 +00:00
kristerw
a3f787edbd Use GCC_REQD instead of USE_PKGSRC_GCC when overriding the compiler
for arm, so that we don't need to install the gcc package(s) on
machines that already have a working compiler in their /usr/bin.
2004-01-24 01:33:49 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
reed
2bde3ef1d3 Since ncurses is not buildlinked, then make sure that
curses is not used. This is so for pkgsrc-users who have a curses
and they use LOCALBASE=/usr, it won't be detected, configured,
and built with it. (Because then could break devel/SDL build later
due to missing libncurses.la.)

The real fix is to improve the buildlink system to work
with LOCALBASE=/usr too. But this will work until that is done.
2003-12-03 02:14:00 +00:00
grant
62732b9100 replace <malloc.h> with <stdlib.h>, allowing this to build on systems
without a working <malloc.h>, eg. FreeBSD 5.x.
2003-10-26 06:50:10 +00:00
grant
40614d0b3c get rid of USE_GCC2/3 in pkg Makefiles, and set GCC_REQD or
USE_PKGSRC_GCC as appropriate, as this is handled by compiler.mk now.
2003-09-17 19:39:58 +00:00
grant
ac2754dcb7 kill all references to gcc.buildlink2.mk and compiler.mk, and define
USE_GCC2 or USE_GCC3 where appropriate.

the functionality of the old gcc.buildlink2.mk has been rolled into
compiler.mk now, which is automatically used.

more changes to come later...
2003-09-12 20:07:06 +00:00
seb
4a2efdf6fd USE_NEW_TEXINFO is unnecessary now. 2003-08-09 10:49:07 +00:00
grant
4083b24390 s/netbsd.org/NetBSD.org/ 2003-07-17 21:31:04 +00:00
seb
e95df5e173 Convert to USE_NEW_TEXINFO. 2003-07-03 13:09:47 +00:00
abs
fb6c29f8bf Update for the fact that 'arm' ports have been called NetBSD-*-arm for a while
now and not NetBSD-*-arm32. Changes include one or more of:
    - Change MACHINE_ARCH == arm32 to also match arm
    - Where ONLY_FOR_PLATFORM includes NetBSD-*-arm32, add NetBSD-*-arm
    - Where BROKEN or worked around for arm gcc bugs, set USE_GCC3
The last may shake out a few more broken packages the next bulk build.
2003-06-11 20:50:50 +00:00
abs
0de8869fb4 Use mk/gcc.buildlink2.mk rather than gcc/buildlink2.mk so lang/gcc3
is accepted. Suggested by Grant.
2003-06-02 14:05: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
jlam
e9e95df55c Use gcc/buildlink2.mk instead of Makefile.gcc. 2002-09-29 06:32:02 +00:00
wiz
e8817c9088 Complete standardization of messages according to latest pkglint. 2002-09-24 12:29:55 +00:00
jlam
16d76d5ca3 Remove aalib/buildlink.mk -- gphoto2 was the last remaining user but it's
been converted to use buildlink2 now.
2002-08-27 06:44:34 +00:00
jlam
9a36592798 Fix name of guard for multiple-inclusion protection. 2002-08-27 06:42:49 +00:00
jlam
beaaa4d9a4 Share common pkgsrc bits between the aalib and aalib-x11 packages. Shrink
the aalib-x11 package to installing just the libraries and headers and to
install them with new names so that aalib-x11 and aalib no longer conflict.
Also, remove the aalib-x11/buildlink.mk file as it will be no longer used.
This solves part of pkg/16354.
2002-08-26 19:38:05 +00:00
jlam
6ea52acc98 Narrow down conflict list to just the existing aalib-x11 versions, looking
forward to when aalib and aalib-x11 don't conflict.
2002-08-26 06:59:47 +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
cjep
30e8a9e879 On arm32, pull in gcc-2.95.3 (to avoid egcs internal compiler error --
after a discussion with abs (the commit,
				not the compiler error :-)).
2002-03-25 14:45:05 +00:00