to link pthreaded code, ala PTHREAD_CFLAGS.
this adds support for systems which have no libpthread, but rather,
have pthreads functions in libc_r, such as FreeBSD 5.x.
export PTHREAD_CFLAGS and PTHREAD_LDFLAGS via MAKE_ENV.
do-configure target. To do this I've introduced a new target,
pre-configure-overrides, that depends on ${_CONFIGURE_PREREQ}. It's run
after pre-configure but before do-configure.
This fixes pkg/22077, and allows benchmarks/benchfft to build correctly on
a -current cats box.
Reviewed by wiz@
makeinfo commands.
The goal of the new framework is twofold:
- reduce the number of '@exec' and '@unexec' in PLIST by
using INSTALL/DEINSTALL scripts to handle entries addition/removal
Info directory file.
- achieve lighter dependencies by avoiding unnecessary run-time
dependency on the gtexinfo package and if needed with the help of the
standalone install-info command provided by the recently imported package
pkgtools/pkg_install-info.
A package must be sightly updated to use this new framework and
must define the variable USE_NEW_TEXINFO. This variable will
be removed from the pkgsrc tree when all package would have been
updated.
For details see section 10.24 of Packages.txt, comments in
mk/{texinfo.mk,buildlink2/bsd.buildlink2.mk} and upcoming mail to
<tech-pkg at netbsd dot org>.
if it's up to date. For dependencies (including the current package)
that are not up to date (or are not installed), a one line note is
printed thusly:
% cd audio/xmradio/
% make show-needs-update
audio/mad => mad-0.14.2b => needs update to mad-0.14.2bnb1
audio/xmradio => (none) => needs install of xmradio-1.2
that
% make
===> do-fetch [digest-20021220] ===> Checking for vulnerabilities in digest-20021220
=> Lock acquired on behalf of process 356
=> Lock released on behalf of process 356
becomes
% make
===> do-fetch [digest-20021220] ===> Checking for vulnerabilities in digest-20021220
=> Lock acquired on behalf of process 814
=> Lock released on behalf of process 814
We introduce two new variables: ABI and IMAKEOPTS
ABI determines the correct ABI to use and is set during bootstrapping
from /etc/compiler.defaults.
IMAKEOPTS are the options passed to imake to allow it to set the right
definitions and find the right paths etc. Use IMAKEOPTS with SunOS, too.
IRIX will always require xpkgwedge, since it's got a bogus X11BASE.
When linking against libXaw, make sure we get the right ABI.
defs.*.mk files) when running the configure script. Most of them look for
an awk parser, and this way they will always pick the right one without
having to check all the possibilities.
latter appears to be a much better place to put something like that.
Also, remove a ) from the awk expression in the check-vulnerable
target, since it is extraneous and only causes awk to die.
requiring 20030417 for recent bug fixes.
if platforms require (or desire) a newer version of pkg_install than
20021123 (the current default) for correct operation, please set
_OPSYS_PKGTOOLS_REQD in defs.OPSYS.mk.
in a package - should keep some admins' blood pressure a bit lower.
Inspired by PR 19479.
Output where there is a vulnerability looks like:
[13:30:05] agc@sys1 ...pkgsrc/net/samba 28 > make fetch
===> do-fetch [samba-2.2.8] ===> Checking for vulnerabilities in samba-2.2.8
*** WARNING - remote-root-access vulnerability in samba-2.2.8 - see http://lists.samba.org/pipermail/samba-announce/2003-April/000065.html for more information ***
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/net/samba
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/net/samba
whilst output where there is no vulnerability looks like:
[13:30:28] agc@sys1 ...pkgsrc/net/ethereal 30 > make fetch
===> do-fetch [ethereal-0.9.11] ===> Checking for vulnerabilities in ethereal-0.9.11
=> ethereal-0.9.11.tar.gz doesn't seem to exist on this system.
=> Attempting to fetch ethereal-0.9.11.tar.gz from ftp://ftp.sunet.se/pub/network/monitoring/ethereal/.
=> [4457475 bytes]
Trying 194.71.11.40...
Connected to ftp.sunet.se.
220-####################################################################
if LOCALPATCHES is defined.
fixes problem on Solaris w/ automounter handling /net, where any package
from the 'net' category would cause a blocking read on /net/pkgname
looking for 'pkgname' as a host exporting NFS file systems (saves a
few useless stat() calls, too).
to the linker to (not) extract all symbols from static archives and
export these variables to packages as {,NO_}WHOLE_ARCHIVE_FLAG.
these are not currently set for IRIX.