Commit graph

61 commits

Author SHA1 Message Date
jlam
3f770348b7 Teach the new tools framework about INSTALL and set the appropriate
default value for each platform.  Currently, the replacement tools
comes from sysutils/coreutils, but where there is no native BSD install
program, bootstrap-pkgsrc should probably be made to provide an install
shell script as an alternative, and mk/tools/bootstrap.mk should be
amended accordingly.

Also remove one use of ${TYPE} in pkgsrc (bsd.pkg.mk) under the new tools
framework.
2005-05-03 20:41:53 +00:00
jlam
cbf28912e2 Nuke stray GZIP definitions that I missed in a previous commit. 2005-05-03 19:35:24 +00:00
jlam
0e37f0df4d First pass at converting pkgsrc to use the new tools framework (still
not on by default).  Separate out the variable defintions that are
now made by the new tools framework.  Some of the trickier platforms
(AIX, IRIX, Interix, OSF1) still need more work.
2005-05-03 18:30:12 +00:00
jlam
8f5d2304a3 Back out part of a change from revision 1.756 of bsd.pkg.mk. It was
a mistake to include "GZIP" as an ${OPSYS}-specific variable as there
is nothing ${OPSYS}-specific there to tune.  Define GZIP in
defaults/mk.conf instead, and remove the definition from each of the
existing platform/${OPSYS}.mk files.
2005-05-03 15:10:59 +00:00
jlam
b26519d8a4 * Push the imake- and xmkmf-handling into the new tools framework.
* Get rid of an explicit check for ${_IMAKE_MAKE} == ${GMAKE} in
  bsd.pkg.mk to check for whether we need to depend on gmake or not.
  Instead, we now note in Linux.mk that packages that need imake will
  also need to use gmake by setting _IMAKE_TOOLS+=gmake.

* Push the definition of MAKE_PROGRAM from bsd.pkg.mk into make.mk where
  it's closer to related code.
2005-05-02 21:10:02 +00:00
tv
3631dff53f On Interix, memorysize is actually "vmemory"; use ulimit -v.
Noted by Steve O'Hara-Smith <steve@sohara.org>.
2005-04-20 21:40:30 +00:00
schwarz
9949da48f0 enable the user to set LIBABISUFFIX if desired. Change approved by jschauma. 2005-04-16 20:03:02 +00:00
garbled
9a6f8c33a1 Fixes for shlib handling on AIX 2005-03-29 08:17:42 +00:00
tv
0facf8765f With the SORT=gsort hack for Interix, all hell breaks loose on pkg_add
because pkginstall encodes it into its scripts.  sigh.

Hack around this.  For bulk builds on Interix only, use gsort for "tflat";
use the system-supplied sort for the rest of the build.
2005-03-28 15:04:07 +00:00
tv
4b4849ce42 Unfortunately, BULK_PREREQ doesn't shield its prerequisites from being
deleted because one of *their* dependencies are deleted.  So add the
dependencies of lang/gawk and sysutils/coreutils to BULK_PREREQ too.
2005-03-24 16:21:48 +00:00
tron
c3333a9a36 Several NetBSD ports (e.g. sparc64) don't have "/sbin/ldconfig". So check
whether it exists and use "true" otherwise.
2005-03-22 19:15:04 +00:00
tv
6fba2a93ed Bump LIBTOOL_REQD to 1.5.14; this unifies all the support again and fixes
a good number of bugs.
2005-03-22 15:40:06 +00:00
tv
de4333b663 Move "GNU replacements" block to the top.
Use gsort from coreutils instead of /bin/sort if coreutils is installed.

Install coreutils in BULK_PREREQ to get gsort; /bin/sort can't handle the
amazingly long lines produced by the dependency-tree printing script.
2005-03-21 14:49:25 +00:00
tv
34e2a63b76 The gawk that comes with Interix is 2.15, which works for most purposes
but can be buggy in some situations (like the bulk build environment).

If pkgsrc gawk happens to be installed, use that; also add lang/gawk to
BULK_PREREQ so it is always used in that case.  If lang/gawk is not
installed, ${AWK} will default to /usr/contrib/bin/gawk as it did before.
2005-03-19 03:32:36 +00:00
tv
b46a7543a3 Fix a gleaming illustration of why using YES/NO variables everywhere
possible, just for the sake of doing so, is not a good thing to do:

The platform files define _STRIPFLAG_* to determine whether to strip things.
But since this is included in bsd.prefs.mk, ".if ..." checks cannot take
things set in the Makefile into account.  So convert INSTALL_UNSTRIPPED=YES
to a defined/undefined variable check in bsd.pkg.mk, and use the :D:U idiom
in the _STRIPFLAG_* variables.

This should fix PR pkg/28772 and PR pkg/29031.
2005-03-18 18:16:34 +00:00
garbled
9e13247056 Some minor hacks for grep and gtar, to use the pkgsrc versions if
available, since the builtin ones aren't so wonderful.
2005-03-12 20:03:38 +00:00
garbled
e79f181034 Since it's not particularly easy to get perl compiling under pkgsrc on
AIX, and AIX ships with perl 5 by default, allow pkgsrc to use it for
building stuff.
2005-03-12 11:08:04 +00:00
reed
a839411efa If /bin/id exists, then use it for ID else use /usr/bin/id.
Mandrake Linux 10.1 as used by A L Meyers has /bin/id.
This should fix his PR #pkg/29430 and #29431.
2005-02-17 20:03:26 +00:00
grant
9a2655736f whitespace fixes 2005-02-16 08:03:44 +00:00
reed
d96e3ad00d chown on AIX is at /usr/bin/chown.
Thanks to Roland, Hubert, and Noud for the PR.
This will close PR #28208.
2005-02-13 04:33:24 +00:00
jlam
2ab02f1ddd Bump PKGTOOLS_REQD to 20050204. This version of pkg_install passes
the correct information to the +INSTALL and +DEINSTALL scripts to fix
problems with binary packages incorrectly locating the reference counts
database, e.g. /var/db.refcount.
2005-02-04 09:19:41 +00:00
jlam
642fa3e0e6 Don't make pkgsrc depend on dc(1) to be present in the system. Since
we already use awk so pervasively in pkgsrc, simply use awk in place
of dc for simple computations.
2005-01-28 21:05:59 +00:00
tv
e2d4e995a8 Relax need to put GNU_CONFIGURE before inclusion of bsd.prefs.mk:
Convert _OPSYS_MAX_CMDLEN to a plain _OPSYS_MAX_CMDLEN_CMD variable, which
is not evaluated by a shell until CONFIGURE_ENV is expanded (and only then
if USE_LIBTOOL+GNU_CONFIGURE are both set).
2005-01-25 18:15:58 +00:00
tv
48c1dc3c38 Add python22, python24 to base addresses list. 2005-01-24 21:47:00 +00:00
tv
6e2055d909 Add NOLINT=1 for BSD-.mk based packages. 2005-01-21 13:07:12 +00:00
tv
e24f55470c Add ruby16/ruby18 to base addresses list. 2005-01-21 06:14:23 +00:00
tv
d5938364f3 Defer the check of GNU_CONFIGURE until later; should fix build of net/ORBit
(and perhaps other packages) which set GNU_CONFIGURE only after bsd.prefs.mk.
2005-01-21 02:09:10 +00:00
tv
291f7ac5d5 Force manpages to be man-only (no catpages) when using BSD .mk files in
a package build.  This may change once groff is fixed, but for now, there's
no guarantee of a nroff available on the host system.
2005-01-18 22:36:37 +00:00
tv
54ce782081 Add <bsd.lib.mk> to base addresses list. 2005-01-18 19:37:08 +00:00
tv
198bb2cf3c Add python23 to the base-address list. 2005-01-18 18:22:56 +00:00
tv
f8b3f96fb6 Add override for uncommon "config.rpath" GNU config snippet. Use platform
file to indicate that override logic should be turned on.  (AFAICT, only
Interix is afflicted at the moment.)
2005-01-14 00:10:01 +00:00
recht
e03832caa6 set _PATCH_CAN_BACKUP=no to avoid problems with DragonFly's native patch.
Patch by Todd Willey in PR 28947
2005-01-12 21:11:41 +00:00
minskim
dcc78c4962 Use GNU make on Linux when USE_IMAKE=yes, because Makefile generated
by imake on Linux requires GNU make.
2004-12-29 23:19:42 +00:00
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
grant
2ba54e3789 libtool>=1.5.10nb9 actually works on DragonFly, so require at
least that version.
2004-12-21 13:52:26 +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
wiz
913b2647ad "the the" -> "the" 2004-12-01 09:52:59 +00:00
grant
c047f6663e backout cvs misfire 2004-11-20 04:38:09 +00:00
grant
919cb8bddb add framework support for Tru64 and the Compaq C compiler.
patches provided by Tobias Nygren <tnn at netilium dot org> with
minor changes by me.
2004-11-20 04:37:08 +00:00
tv
e281d8ed2c Remove PERL5_USE_THREADS setting now that the default is perl58-thread. 2004-11-19 13:10:05 +00:00
xtraeme
838274a29f OpenBSD's pax(1) doesn't support -O flag, so use the pkgsrc one. 2004-11-18 04:22:39 +00:00
tv
4b5d899ef8 Revert previous (re-add common CPP_PRECOMP_FLAGS). For consistency, also
move usage of _USER_DEPENDS and _OPSYS_MAX_CMDLEN to bsd.pkg.mk.
2004-11-16 18:04:00 +00:00
tv
2e3f2421db CPP_PRECOMP_FLAGS is a Darwinism only. Move its frobbing of CPPFLAGS to
platform/Darwin.mk (simplification).
2004-11-16 16:21:40 +00:00
tv
d1383b985f Set some _OPSYS_SHLIB_TYPE to precisely 'ELF' on platforms where a.out is
not being used by pkgsrc at all.  This saves some build time in
show-shlib-type.
2004-11-15 14:48:18 +00:00
sketch
cc78d56bb6 Introduce LIBABISUFFIX for platforms which require ABI-dependant library paths. 2004-11-12 20:25:41 +00:00
tv
a09be89d5a NetBSD now needs libtool-base-1.5.10nb6. 2004-11-11 22:29:40 +00:00
wiz
6af35801a0 Some updates for DragonFly from Todd Willey via tech-pkg. 2004-11-02 22:24:35 +00:00
wiz
e8cb326b9f Add DragonFlyBSD support, provided by Todd Willey on tech-pkg. 2004-10-31 22:05:02 +00:00
tv
2e2cb6b1ef Clarify previous (missing a word). 2004-10-29 15:15:50 +00:00