Commit graph

3816 commits

Author SHA1 Message Date
jlam
25b0d4a59c OpenBSD uses the NetBSD user/group management tools, so re-add back
support for USERADD/GROUPADD on OpenBSD.
2004-12-27 08:38:09 +00:00
jlam
25b81680be Remove USERADD and GROUPADD definitions from OSes where the useradd
and groupadd commands won't follow the calling conventions of the
NetBSD useradd/groupadd.  Modify the INSTALL scripts to *never* create
users or groups if there is no available ${USERADD} or ${GROUPADD}
command, but will warn the user of users and groups that need to be
created before the package can be installed.
2004-12-27 06:41:50 +00:00
jlam
25ecd0385c It's "modules/by-module". 2004-12-26 23:15:48 +00:00
jmmv
7bfa622ee9 Set default values for MLDONKEY_{GROUP,HOME,USER} and document them. 2004-12-25 19:16:29 +00:00
jlam
d8184c92cf Back out CPAN_MODULE_DIR change. Due to the way make variables are
evaluated, this broke MASTER_SITES in many p5-* packages.
2004-12-25 03:43:33 +00:00
jlam
687d5dc611 Rename to "CPAN_MODULE_PATH" to "CPAN_MODULE_DIR". 2004-12-25 03:22:37 +00:00
jlam
eeecb05048 Create CPAN_MODULE_PATH which points to the location of Perl modules at
a CPAN mirror.  By default, it is "modules/by-module".
2004-12-25 03:20:33 +00:00
jmmv
22c78c78fb Add 'as' locale, initially used by atk 1.9.0. 2004-12-24 12:28:58 +00:00
jmmv
eb0c4759ca Enable theme-dirs. 2004-12-24 10:06:41 +00:00
jmmv
77acc28001 Add rw locale, initially used by GTK+ 2.6.x. 2004-12-23 22:42:08 +00:00
jlam
1a36b3b670 Don't remove library options from the command line quite so aggressively.
Allow the configure process a chance to detect on its own whether the
named library exists or not by allowing those library options to pass
through to the compiler on a test compile.  A package that *needs*
those library options to be removed can add the appropriate rm:
BUILDLINK_TRANSFORM command to its package Makefile.
2004-12-23 14:27:04 +00:00
jlam
650b62997d Remove support for some variables that are supposed to go away after
pkgsrc-2004Q4 is branched.
2004-12-22 21:46:24 +00:00
jlam
bf4e0b5a64 On NetBSD, rpcgen must *always* be invoked with "-b":
-b      Compile stubs in "backwards compatible" mode, disabling
             support for transport-independent RPC.  The -b should always
             be specified when generating files for NetBSD, since there is
             no transport-independent RPC support in NetBSD.

Therefore, force "-b" to be the first argument whenever rpcgen is invoked
via the wrapper.
2004-12-22 21:39:25 +00:00
agc
429fdd9cb8 Whitespace police - no functional change 2004-12-21 17:30:07 +00:00
grant
2ba54e3789 libtool>=1.5.10nb9 actually works on DragonFly, so require at
least that version.
2004-12-21 13:52:26 +00:00
schmonz
18d08b239f Introduce QMAIL_QFILTER_TMPDIR, the temporary directory for
qmail-qfilter. Defaults to ${VARBASE}/tmp/qmail-qfilter.
2004-12-21 00:19:40 +00:00
grant
80e7ac22fb Darwin 7.7.x has poll() in libc, but no poll.h. Address this in GNU
configure packages by testing for poll.h and sys/poll.h and pretending
that there is no poll() if neither exist.
2004-12-20 13:09:04 +00:00
grant
8e83f3f367 fix MASTER_SITE_GNOME .au example. 2004-12-19 00:45:19 +00:00
grant
40a1b4637f transform -fPIC to -qnocommon and clarify the related comment. 2004-12-19 00:38:59 +00:00
jlam
8b2040b409 Always create a ${TOOLS_DIR}/bin/rpcgen to wrap the real rpcgen.
The wrapper will correctly set the CPP environment variable to a
stat((2)able path to a C preprocessor, then rely on the PATH to
find and invoke the real rpcgen.

Remove NO_EXPORT_CPP in package Makefiles where it was used just to
avoid problems with rpcgen.  The build system now just does the right
thing automatically without needing package-specific knowledge.

This fixes PR pkg/27272.
2004-12-18 19:24:26 +00:00
grant
7bbc828ce7 document QPOPPER_SPOOL_DIR. 2004-12-18 04:03:16 +00:00
jlam
651a4a40fd Ensure that libtool-base>=1.5.10nb7 is required for packages that set
USE_FORTRAN.
2004-12-18 00:14:04 +00:00
jlam
88648515a2 Rewrite func_infer_tag in the libtool script so that it's easier to
specify (hardcoded) compilers from which we can infer the correct tag
(CC, CXX, F77).  Use the following patterns to match compilers to
tags:

	CC:	*cc *xlc
	CXX:	*++ *CC
	F77:	*77 *fort

Bump the PKGREVISION to 1.5.10nb7 since we now infer the F77 tag from
likely Fortran compilers.  Also require at least this version of
libtool when building packages that set USE_FORTRAN.  This should fix
PR pkg/28661.
2004-12-17 16:24:22 +00:00
tron
ecdfaff3a2 Remove "http://aleron.dl.sourceforge.net/sourceforge/" once more because
it still doesn't work.
2004-12-15 14:38:53 +00:00
grant
22c75b5b2f fix perl modules path in cpan.pair.com URL. 2004-12-14 10:06:16 +00:00
kristerw
4b4db9826b Make bulk builds mark packages failing due to "no acceptable JVM found"
as unavailable instead of broken.
2004-12-14 00:08:57 +00:00
kristerw
fdb6419bd5 The documentation claims you can use -m as an alias for --mirror_only.
Make it so.
2004-12-11 02:49:57 +00:00
jlam
bda6801430 Create directories before putting files in them. This should fix
PR pkg/28480.
2004-12-11 00:32:16 +00:00
jlam
82d866954b Nuke bsd.perl.mk... we compute these values where they're needed in
perl5/buildlink3.mk already, so no need to include this file in
bsd.pkg.mk anymore.
2004-12-10 04:25:09 +00:00
jlam
452e77d799 From inspecting configure scripts, it seems FreeBSD wants "-D_THREAD_SAFE"
as part of the CPPFLAGS when building threaded apps.
2004-12-09 15:27:13 +00:00
wiz
cc53e3582a ftp2.sf.net is much more responsive than ftp3; replace the latter with the former. 2004-12-08 16:21:00 +00:00
schmonz
c0b159de2e In the show-options target, ensure that PKG_OPTIONS and friends
are non-empty before shelling out to xargs. Silences spurious output
from "pkg_chk -i" and probably others.
2004-12-05 23:23:50 +00:00
grant
c463b8b491 make sure some variables are initialized before using them. 2004-12-05 22:38:06 +00:00
grant
748314ae90 add handling for some required -Wl, transformations for packages that
assume Apple gcc on Darwin. thanks, Johnny :)

this allows perl to build with xlc.
2004-12-05 09:29:26 +00:00
grant
273a47a3d8 whitespace fix 2004-12-05 09:27:23 +00:00
grant
71232b1911 transform -dynamiclib and -fno-common to the appropriate arguments
for xlc.
2004-12-05 09:26:59 +00:00
grant
e221a993eb add show-options target which displays the options available, default,
and enabled for the current pkg, eg. mail/sendmail:

available: db2 db4 inet6 ldap sasl sasl2 socketmap starttls tcpwrappers
default: canna esound gif idea inet6 inet6 sj3 tcpwrappers wnn4
enabled: inet6 tcpwrappers
2004-12-05 09:20:48 +00:00
jlam
bd720de98f Allow the wrapper-specific transform scripts to replace one arg with
several args by setting split_arg="yes" as part of the transformation.
2004-12-05 03:43:18 +00:00
grant
17c0839438 don't throw away all "-Wl," arguments, they are needed to pass various
shlib options to the Darwin linker.
2004-12-05 02:47:52 +00:00
grant
b0797b36a4 fix typo 2004-12-05 02:41:31 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +00:00
dillo
36aee2a648 add MASTER_SITE_IFARCHIVE -- list of mirrors of the Interactive Fiction Archive 2004-12-02 21:56:06 +00:00
jlam
406700e994 Don't hardcode /usr/include/db.h and /usr/include/db1/db.h all over the
place.  Also, modify the buildlink-db1-db185-h target to use symlinks
instead of include <db.h> since several bdb implementations might be
buildlinked, and we need to be more precise about exactly which db.h
header is being used.
2004-12-02 17:40:49 +00:00
jlam
6c02e9e0aa If we're using the builtin dlopen(), and libdl.* doesn't exist, then
drop the "-ldl" option on the floor.  This "fixes" packages that
hardcode "-ldl" into the command line when linking software.
2004-12-02 15:04:16 +00:00
wiz
913b2647ad "the the" -> "the" 2004-12-01 09:52:59 +00:00
tv
29b0526b9b We already know that bsd.prefs.mk is included before this, so reduce make
parser churn by skipping a second include of it.

Use PKGDIR in preference to .CURDIR as in other .mk files.
2004-11-30 15:09:45 +00:00
jlam
28e0cb9288 Remove the trailing whitespace in the values of the toolchain variables
(CC, LD, CXX, etc.) if the default values have no arguments.  Now,
CC == "cc" and not "cc ".
2004-11-30 15:07:26 +00:00
jlam
eb9034727a Modify the way that the toolchain variables, e.g. CC, CPP, CXX, LD, etc.,
are handled.  The idea now is to simply remove the paths in the values
of these variables, leaving behind only the basename plus any arguments,
e.g.:

	CC= /usr/local/bin/gcc       becomes   CC= gcc
	CPP= /usr/local/bin/gcc -E   becomes   CPP= gcc -E

The wrapper scripts are generated for every unique executable mentioned
by the toolchain variables, so for the example above, only a "gcc"
wrapper script is generated for ${CC} and ${CPP}.  PKG_{CC,CPP,CXX,etc.}
are the paths to the executables wrapped by the wrapper scripts.

Note that it's now possible to set "CC" to something more than just the
path to the compiler, e.g.

	CC= cc -ffast-math -funroll-loops -fomit-frame-pointer

and the full value of ${CC} will be passed through via CONFIGURE_ENV
and MAKE_ENV.
2004-11-30 14:50:37 +00:00
seb
3e4e8e4fea Since last revision PTHREAD_AUTO_VARS defaults to 'no'. 2004-11-29 17:27:14 +00:00
tv
fbbc1e4cdf Remove anl.gov from _CYGWIN as it is either slow or dead most of the time. 2004-11-29 02:00:30 +00:00