Commit graph

28 commits

Author SHA1 Message Date
wiz
bd06e1cb46 Reset MAINTAINER/OWNER (became observers) 2013-02-01 22:21:05 +00:00
asau
e1ab7079b6 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-31 11:16:30 +00:00
drochner
24a5fbe0f8 move BUILDLINK_LDFLAGS definition from bl3.mk to builtin.mk -- in theory,
the linker flag should be filtered out by a rule in builtin.mk, but
apparently this doesn't always work. If in builtin.mk, it doesn't get
defined unnecessarily.
2010-08-30 17:27:11 +00:00
drochner
4074cd478b NetBSD has these functions in libc since 5.0 at least, librfuncs
installs an empty library here. Allow to filter it out, to avoid
the overhead.
2010-08-09 10:49: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
heinz
1ef25a98a3 The package supports installation to DESTDIR. 2008-04-06 13:24:00 +00:00
rillig
1f820e1947 Fixed pkglint warnings and added a patch that prints an error message if
ttyname_r does not work.
2007-02-15 14:24:23 +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
drochner
b1d04b2162 While getenv_r() is nonstandard, the version now in NetBSD-current
returns -1 on error and sets errno.
So we need to do the same.
bump PKGREVISION
2006-03-01 15:58:03 +00:00
shannonjr
a8852d9924 Updated to 1.0.7. This release only links to the threads library when
actually needed.
2006-01-26 18:47:06 +00:00
rillig
f795c2e475 Removed trailing white-space. 2005-05-23 08:26:03 +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
shannonjr
dbef623d34 Re: pkg/28464 gpgme won't build. Enabling PTHREAD_AUTO_VARS is Makefile. 2004-11-29 16:56:39 +00:00
shannonjr
0a241b8deb Change to revision 1.0.6. This revision recognises that SunOS has
thread-safe getenv() and strerror() functions. With thread-safe
functions, not mutexes are used to serialize access to these functions.
2004-11-16 21:39:32 +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
snj
83c4a6e4da It's "its". 2004-11-09 00:08:01 +00:00
shannonjr
00ea2e24a8 Updated to 1.0.5 to correct problem pointed out by Mark Davies:
"Your tests in configure to decide if you need each of the functions are
testing a different variable name from the one that gets set so you always
create an rfuncs.h that has all three definitions even if you dont need them,
which leads to problems on systems that provide some but not all of them
natively." Correction by Mark Davies.
2004-11-08 11:10:00 +00:00
shannonjr
3750c4d04e Re: pkg/27884: Use of librfuncs breaks gpgme
Updated to 1.0.4 to fix a bug in getenv_r() where ENOENT was not returned if
the string name was not found in the environment.
2004-11-07 10:44:13 +00:00
shannonjr
44086f7e49 pkg/28001: devel/librfuncs dies on configure
Update to revision 1.0.3 to correct mistake where config subdirectory
contained symbolic links:
  config.guess -> /usr/pkgsrc/mk/gnu-config/config.guess
  config.sub -> /usr/pkgsrc/mk/gnu-config/config.sub
that were a consequence of the tarball being created after a build
inm pkgsrc (files were replaced with symbolic links).
2004-11-05 15:04:14 +00:00
shannonjr
6c162c35c1 Update to version 1.0.2. This version uses the mutexes from either
pthread or pth according to what pthread.buildlink3.mk and the
autotools identify. If neither pthread nor pth is found no thread
locking is performed.
2004-11-04 20:24:50 +00:00
shannonjr
09ae6958de Simplified buildlink3.mk file by removing lines that attempted to include
the header file <rfuncs.h> through a compiler flag along with some
unnecessary linker flags. This should hopefully resolve pkg/27631,
security/gpgme dies on configure.
2004-10-30 12:30:22 +00:00
shannonjr
b9afb3217f *** empty log message *** 2004-10-24 23:41:35 +00:00
shannonjr
b3e2c65508 Updated to 1.0.1 to use NetBSD threadlib if available 2004-10-24 23:41:34 +00:00
shannonjr
e26f2dd57e Provides missing POSIX *_r functions: ttyname_r(), getenv_r() and
strerror_r(). These are thread safe versions of the corresponding functions
without the "_r".  The package is implemented so that it may be used simply
by including it's buildlink3.mk file.
2004-10-23 12:17:04 +00:00