summaryrefslogtreecommitdiff
path: root/devel/librfuncs
AgeCommit message (Collapse)AuthorFilesLines
2009-03-20Simply and speed up buildlink3.mk files and processing.joerg1-13/+6
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.
2008-04-06The package supports installation to DESTDIR.heinz1-1/+3
2007-02-15Fixed pkglint warnings and added a patch that prints an error message ifrillig4-7/+20
ttyname_r does not work.
2006-07-08Change the format of BUILDLINK_ORDER to contain depth information as well,jlam1-2/+2
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-08Track information in a new variable BUILDLINK_ORDER that informs usjlam1-1/+2
of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
2006-04-12Aligned the last line of the buildlink3.mk files with the first line, sorillig1-2/+2
that they look nicer.
2006-04-06Over 1200 files touched but no revisions bumped :)reed1-2/+2
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-03-01While getenv_r() is nonstandard, the version now in NetBSD-currentdrochner3-3/+28
returns -1 on error and sets errno. So we need to do the same. bump PKGREVISION
2006-01-26Updated to 1.0.7. This release only links to the threads library whenshannonjr3-10/+11
actually needed.
2005-05-23Removed trailing white-space.rillig1-3/+3
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-02-23Add RMD160 digests.agc1-1/+2
2004-11-29Re: pkg/28464 gpgme won't build. Enabling PTHREAD_AUTO_VARS is Makefile.shannonjr1-1/+3
2004-11-16Change to revision 1.0.6. This revision recognises that SunOS hasshannonjr2-5/+5
thread-safe getenv() and strerror() functions. With thread-safe functions, not mutexes are used to serialize access to these functions.
2004-11-12Remove redundant uses of PTHREAD_{CFLAGS,LDFLAGS} now that they're addedjlam1-4/+2
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-09It's "its".snj1-1/+1
2004-11-08Updated to 1.0.5 to correct problem pointed out by Mark Davies:shannonjr2-5/+5
"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-07Re: pkg/27884: Use of librfuncs breaks gpgmeshannonjr3-7/+7
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-05pkg/28001: devel/librfuncs dies on configureshannonjr2-5/+5
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-04Update to version 1.0.2. This version uses the mutexes from eithershannonjr2-5/+5
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-10-30Simplified buildlink3.mk file by removing lines that attempted to includeshannonjr1-5/+1
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-24*** empty log message ***shannonjr1-3/+3
2004-10-24Updated to 1.0.1 to use NetBSD threadlib if availableshannonjr1-2/+2
2004-10-23Provides missing POSIX *_r functions: ttyname_r(), getenv_r() andshannonjr5-0/+67
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.