summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authortv <tv>2005-01-25 18:15:58 +0000
committertv <tv>2005-01-25 18:15:58 +0000
commited65b3e18002fae0f698d9545262a7435ac0214d (patch)
tree84119074e1aef051f087b11349c786c47a9a6b27 /mk/bsd.pkg.mk
parentf1aede4b7db8e9c67d52d527c181c10f6cbf1505 (diff)
downloadpkgsrc-ed65b3e18002fae0f698d9545262a7435ac0214d.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/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index d3ad9cd1898..0cfe719e99c 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1573 2005/01/25 13:13:35 jmmv Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1574 2005/01/25 18:15:58 tv Exp $
#
# This file is in the public domain.
#
@@ -378,8 +378,8 @@ CONFIG_SHELL?= ${SH}
CONFIGURE_ENV+= CONFIG_SHELL=${CONFIG_SHELL}
CONFIGURE_ENV+= LIBS=${LIBS:Q}
CONFIGURE_ENV+= install_sh=${INSTALL:Q}
-. if defined(USE_LIBTOOL) && defined(_OPSYS_MAX_CMDLEN)
-CONFIGURE_ENV+= lt_cv_sys_max_cmd_len=${_OPSYS_MAX_CMDLEN}
+. if defined(USE_LIBTOOL) && defined(_OPSYS_MAX_CMDLEN_CMD)
+CONFIGURE_ENV+= lt_cv_sys_max_cmd_len=${_OPSYS_MAX_CMDLEN_CMD:sh}
. endif
.endif