summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authortv <tv>2005-11-09 18:42:32 +0000
committertv <tv>2005-11-09 18:42:32 +0000
commitde0412ab1940147dd127bd127a04152cf77f17fb (patch)
treec6126814015496871dfae72bb24ad0e5edc39ca1 /mk/bsd.pkg.mk
parentfb412398b2a8cd982d1920218452cdaea52847a6 (diff)
downloadpkgsrc-de0412ab1940147dd127bd127a04152cf77f17fb.tar.gz
Use lt_cv_sys_max_cmd_len in devel/libtool-base, too.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index b37b7df9f3b..882072f7efe 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1746 2005/11/05 13:31:43 wiz Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1747 2005/11/09 18:42:32 tv Exp $
#
# This file is in the public domain.
#
@@ -384,7 +384,7 @@ CONFIG_SHELL?= ${SH}
CONFIGURE_ENV+= CONFIG_SHELL=${CONFIG_SHELL}
CONFIGURE_ENV+= LIBS=${LIBS:M*:Q}
CONFIGURE_ENV+= install_sh=${INSTALL:Q}
-. if defined(USE_LIBTOOL) && defined(_OPSYS_MAX_CMDLEN_CMD)
+. if (defined(USE_LIBTOOL) || !empty(PKGDIR:M*/libtool-base)) && defined(_OPSYS_MAX_CMDLEN_CMD)
CONFIGURE_ENV+= lt_cv_sys_max_cmd_len=${_OPSYS_MAX_CMDLEN_CMD:sh}
. endif
.endif