Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
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.
|
|
|
|
through PLIST_SUBST to the plist module.
|
|
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
|
|
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
|
|
|
|
|
|
|
|
ftp://ftp.NetBSD.org/pub/pkgsrc/misc/kristerw/pkgstat/i386-3.0/20060501.1050/broken.html
|
|
|
|
trying to find unimplemented functions). Fix PLIST. Bump revision.
|
|
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).
|
|
Changes since 0.28.2:
added check for whether SSL_read/write takes void * or char * parameter
added _XOPEN_SOURCE to filedescriptorincludes.h for sys/socket for irix
added collapse argument to charstring::split
added configure test for -Wall
switched lots of:
char a[charstring::length(b)];
to:
char *a=new char[charstring::length(b)];
...
delete[] a;
to improve compiler compatibility
removed #ifdef __GNUC__ around static variable definitions, I'll add
#ifndefs for compilers that don't allow them (like SCO's) if
necessary
added -D__EXTENSIONS__ to CPPFLAGS
added charstring::escape/unescape
defaulted zeropadding to 1 rather than 0, I'm not sure if it's a bug
in glibc or not, but printf("%0*lld\n",0,(int64_t)0); prints
nothing rather than 0, but printf("%0*ld\n",0,(int32_t)0);
prints 0. Using 1 instead of 0 for the number of 0's works
in all cases.
solaris's strchr/strrchr return const char *,
so I made charstring::findFirst/findLast return const char *
use snprintf's rather than sprintf's now
uses fchmod/fchown rather than chmod/chown now
made envelope classes out of all classes
added a configure test for ftok that takes a char * argument
switched a bunch of AC_TRY_LINK's to AC_TRY_COMPILE's in configure
script
configure script does less work looking for getpwnam_r and cousins now
if pthread libs can't be found, configure also tries just plain -pthread
added #ifdefs for individual POSIX_FADV_* and MADV_* macros
in configure script, for cygwin, tests for w32api files and functions
are omitted
configure tests for strtoll/strtoull now
configure tests for caddr_t types for all mmap-related functions
individually now
unsupported memorymap methods return false now rather than not existing
added -pthread when compiling as well as linking
fixed a time-remaining-related bug in snooze class
fixed a bug where the date/time string buffer could easily be overrun
|
|
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.
|
|
|
|
rather than PKG_FAIL_REASON, so that they provide useful error
messages in build logs, and so that they continue to work on platforms
where they aren't broken.
|
|
3.0. If one of these is important to you, please fix it in time
for pkgsrc-2006Q1, or it may be removed.
|
|
builds on NetBSD.
|
|
USE_GNU_TOOLS -> USE_TOOLS
awk -> gawk
m4 -> gm4
make -> gmake
sed -> gsed
yacc -> bison
|
|
|
|
|
|
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.
|
|
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".
|
|
|
|
|
|
|
|
Rudiments is an Open Source C++ class library providing base classes
for things such as daemons, clients and servers, and wrapper classes
for the standard C functions for things such as regular expressions,
semaphores and signal handling.
|