summaryrefslogtreecommitdiff
path: root/devel/bglibs/buildlink3.mk
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-12Bump default BUILDLINK_API_DEPENDS to 1.104 (the latest).schmonz1-2/+2
2006-12-28The self-tests fail on OS X. This may or may not be a real problem,schmonz1-2/+2
but the test suite returning a error code before install definitely is. Make the tests available via TEST_TARGET instead of as part of the default build, fixing installation on OS X. Bump BUILDLINK_API_DEPENDS to the version most bgware wants these days. No change to installed package, hence no PKGREVISION.
2006-08-02Bump default dependency so dependent packages get shared bglibs.schmonz1-2/+2
2006-07-29Update to 1.100. From the changelog:schmonz1-2/+1
* This package now builds and installs as a shared library. Requires libtool to be installed. - Added support to bg-installer for installing shared libraries with libtool. - Fixed a bug in counting the length of signed and unsigned long long integers (0 was counted as having zero length). - Fixed bug in error return of ibuf_openreadclose. Thanks Gerrit Pape.
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-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-02-20Update to 1.040 and fix pkglint warnings. From the changelog:schmonz1-3/+3
- Added cli-generate, a program to produce C header and source from command-line interface description files. - Modified the crypto HMAC code to do precalculation of the intermediate hash results. - Fixed base64 decoding on systems where char is unsigned by default. Thanks Gerrit Pape. - Tweaked the ghash_add function to return a pointer to the newly created entry (since some uses will want to use it immediately). - Stop blocking SIGSEGV with the sig_all_* functions, as this has resulted in bugs causing endless signal loops.
2005-08-23Update to 1.027. From the changelog:schmonz1-2/+2
- Fixed numberic export glitch in vpwentry_export. - Fixed dependancies to let "make -j" work properly. - Added some pre-computed .lib files (such as socket.lib).
2005-08-19Update to 1.026. From the changelog:schmonz1-2/+2
- Fixed negative indexing bugs in str_findprev* and ibuf_getstr_crlf functions. Thanks Gerrit Pape. - Added the capability to bg-installer to optionally run commands based on the existance of the source (or another) file. - Fixed bg-installer to not create directories in "dry-run" mode.
2005-07-15Update to 1.024. From the changelog:schmonz1-2/+2
- Fixed (again) glob patterns to allow both "!" (like modern glob) or "^" (like existing shells) for negating character sets. - Tweaked str_alloc to use realloc when appropriate. - Fixed glob pattern matches to use "!" instead of "~" for negating character sets like all other globs use. - Fixed the installer libraries to include all the necessary object files for producing the installer/instcheck/instshow programs. - Added a generic installer program, similar to the "install" program included with ezmlm. - Fixed the instshow library to use and dispaly the install prefix just like the other instlib programs. - The installers now automatically create missing directories, and installs into temporary files that get renamed. - Added path_mkdirs function. - Fixed typo bug in str_catfv and str_copyfv that caused failures on (at least) PPC and S390 architectures. Thanks Gerrit Pape. - Fixed 32-to-64 bit sign extension bug in fmt_multi on some 64-bit platforms. Thanks Gerrit Pape. - installer/instcheck program libraries now optionally install into a prefix directory specified on the command line or with $install_prefix (which can be set on the make command line). - Installation is now done under seperate include/lib directories. - Added sysdep for "extern int daylight" (replaced by a macro if not present). - Fixed a couple of length counting bugs in the fmt number code. - Added multiple-item formatting functions fmt_multi (similar to printf, but safer), fmt_multiv, obuf_putf, str_catf, and str_copyf, as well as a set of formatted message functions.
2004-12-21Initial import of bglibs, a collection of miscellaneous librariesschmonz1-0/+19
by Bruce Guenter. Required for the latest qmail-qfilter.