Commit graph

185 commits

Author SHA1 Message Date
joerg
3900f91ff1 Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 21:00:03 +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
joerg
ba171a91fa Add DESTDIR support. 2008-06-12 02:14:13 +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
joerg
b0016e3dd4 xgettext requested by configure. 2006-06-06 21:37:15 +00:00
schwarz
767e40c842 small modification to also match for end of line ($) with the grep and sed
expressions of that hack
2006-05-14 21:10:01 +00:00
schwarz
cae053f8fb added a hack that makes sure that configure does not define socklen_t if
it has already been typedef'd in pthread.h. This addresses the issue
reported in pkg/27009 (closing that PR).
2006-05-01 00:19:45 +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
ac3d4d96f3 Welcome to the brave new world of gettext-0.14.5 -- if a source file
includes <libintl.h>, then we must ensure that the resulting object
is linked against -lintl.  This ensures that the correct *printf()
functions are used across all platforms.
2006-03-31 22:30:02 +00:00
jschauma
08bc5b3031 Not all compilers accept --disable-shared. Instead of trying to get
the right one for each one, just get rid of this flag, as it concerns
the creation of a test binary anyway.  (This allows ORBit to compile
and install under IRIX.)
2006-03-12 18:13:53 +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
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
grant
efc8ea1d6d fix config.h to include <alloca.h> if found (ORBIT_HAVE_ALLOCA_H was
not being defined, so alloca.h was never included).

fixes build with sunpro.
2005-08-18 05:46:16 +00:00
grant
494eb426dd this needs flex (not lex) to build. 2005-08-18 05:41:02 +00:00
grant
e6e8f295b8 whitespace fix 2005-08-18 05:39:52 +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
wiz
11884b4eb0 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 09:06:39 +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
jmmv
8bdfdbdee6 Add missing blank line at top of patch file. 2005-03-09 15:57:07 +00:00
jmmv
858cbda302 Get rid of the ORBIT_{MAJOR,MINOR} variables and instead directly put the
version number where appropriate.  They are useless.
2005-03-09 15:30:36 +00:00
agc
b12d62efb5 Add RMD160 digests. 2005-02-24 12:13:41 +00:00
tv
cf4fbee0a1 Move inclusion of bsd.prefs.mk much further down in the file. 2005-01-24 22:13:52 +00:00
adam
376285e7cd Changes 0.5.17:
* Bug fixes
2005-01-13 09:58:57 +00:00
jlam
00686c240d Set PTHREAD_AUTO_VARS to "yes" after pthread.buildlink3.mk was changed
not to automatically add pthread-related CFLAGS, LDFLAGS, and LIBS to
the configure and build processes.
2004-12-04 23:09:06 +00:00
jlam
af591191d2 Remove redundant uses of PTHREAD_{CFLAGS,LDFLAGS} now that they're added
automatically by pthread.buildlink3.mk.  Also, factor out the pthread
library out of PTHREAD_LDFLAGS into a standalone variable PTHREAD_LIBS
and use it in packages where necessary (usually the ones that don't
have a GNU configure script).
2004-11-12 06:39:19 +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
caf13780db Unused. 2004-05-05 08:27:56 +00:00
minskim
ba6619e087 Enable pkgviews installation. 2004-04-22 23:52:19 +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
reed
a959fd964c Needs lex and yacc for build.
(Also should depend on gindent, but not fixed here.)
2004-03-11 20:14:59 +00:00
seb
ec5003d151 Remove info files entries from PLIST. 2004-03-08 22:31:40 +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
jmmv
ab17dd00b3 PKGCONFIG_OVERRIDE is relative to WRKSRC. 2004-02-14 18:26:26 +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
jlam
b259a0a438 CONFIG_{GUESS,SUB}_OVERRIDE are now relative to ${WRKSRC} and will
automatically substitute for any config.{guess,sub} files found up to a
directory depth of 2.
2004-02-14 15:29:15 +00:00
sekiya
0af6ea172a Override config.guess and config.sub (necessary for mipseb-* targets). 2004-01-31 11:36:23 +00:00
grant
6eab5759a3 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 14:50:05 +00:00
jlam
a7d877ca6a Append to BUILDLINK_DEPENDS.<pkg> instead of setting a default value. In
the normal case when BUILDLINK_DEPENDS.<pkg> isn't specified, it receives
a value only once due to the multiple inclusion protection in the
bulldlink3.mk files.  In the case where a package includes several
buildlink3.mk files that each want a slightly different version of another
dependency, having BUILDLINK_DEPENDS.<pkg> be a list allows for the
strictest <pkg> dependency to be matched.
2004-01-24 03:26:45 +00:00
jlam
278f74a845 bl3ify 2004-01-22 12:53:48 +00:00
grant
7fe236d6e7 remove a Solaris hack that is no longer needed, as the buildlink2
fake-la bug has been fixed.
2004-01-12 00:00:03 +00:00
sketch
f65d99908f Properly check for alloca.h and use if necessary, fixing USE_SUNPRO build. 2003-12-16 11:22:31 +00:00
xtraeme
5b2f7734e2 Bump PKGREVISION (libIDL-0.8.2) 2003-12-04 17:08:51 +00:00
cjep
cfe8be1263 Add RCS IDs 2003-10-18 13:20:31 +00:00
wiz
ef8e8146c4 I am not really maintaining this one; drop to tech-pkg. 2003-10-09 07:12:28 +00:00