diff options
author | tv <tv> | 2005-01-25 18:15:58 +0000 |
---|---|---|
committer | tv <tv> | 2005-01-25 18:15:58 +0000 |
commit | a8d1a712957e6851da50ba6591c617c8f7686900 (patch) | |
tree | 84119074e1aef051f087b11349c786c47a9a6b27 /mk/platform/FreeBSD.mk | |
parent | b008fcedde73a03bd214f72e829325462a49bfab (diff) | |
download | pkgsrc-a8d1a712957e6851da50ba6591c617c8f7686900.tar.gz |
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).
Diffstat (limited to 'mk/platform/FreeBSD.mk')
-rw-r--r-- | mk/platform/FreeBSD.mk | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mk/platform/FreeBSD.mk b/mk/platform/FreeBSD.mk index e1a3b3c5307..ab567b31d60 100644 --- a/mk/platform/FreeBSD.mk +++ b/mk/platform/FreeBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: FreeBSD.mk,v 1.5 2004/12/27 06:41:50 jlam Exp $ +# $NetBSD: FreeBSD.mk,v 1.6 2005/01/25 18:15:58 tv Exp $ # # Variable definitions for the FreeBSD operating system. @@ -157,9 +157,7 @@ PKG_HAVE_KQUEUE= # defined # check for maximum command line length and set it in configure's environment, # to avoid a test required by the libtool script that takes forever. -.if defined(GNU_CONFIGURE) && defined(USE_LIBTOOL) -_OPSYS_MAX_CMDLEN!= /sbin/sysctl -n kern.argmax -.endif +_OPSYS_MAX_CMDLEN_CMD= /sbin/sysctl -n kern.argmax # If games are to be installed setgid, then SETGIDGAME is set to 'yes' # (it defaults to 'no' as per bsd.pkg.defaults.mk). |