summaryrefslogtreecommitdiff
path: root/mk/platform/DragonFly.mk
diff options
context:
space:
mode:
authortv <tv>2005-01-25 18:15:58 +0000
committertv <tv>2005-01-25 18:15:58 +0000
commita8d1a712957e6851da50ba6591c617c8f7686900 (patch)
tree84119074e1aef051f087b11349c786c47a9a6b27 /mk/platform/DragonFly.mk
parentb008fcedde73a03bd214f72e829325462a49bfab (diff)
downloadpkgsrc-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/DragonFly.mk')
-rw-r--r--mk/platform/DragonFly.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/mk/platform/DragonFly.mk b/mk/platform/DragonFly.mk
index 4243eb93e72..d0b11faa24c 100644
--- a/mk/platform/DragonFly.mk
+++ b/mk/platform/DragonFly.mk
@@ -1,4 +1,4 @@
-# $NetBSD: DragonFly.mk,v 1.7 2005/01/12 21:11:41 recht Exp $
+# $NetBSD: DragonFly.mk,v 1.8 2005/01/25 18:15:58 tv Exp $
#
# Variable definitions for the DragonFly operating system.
@@ -158,9 +158,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).