summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2002-04-07 17:09:57 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2002-04-07 17:09:57 +0000
commit544ecb6a4e70a768d65234eaa8c269ec2e3d8faa (patch)
tree459772a76ab3a8f38e430e5d04e4bb203c0f418c
parent44f1542aabcf35ed89dc48656a0243f78a607ca4 (diff)
downloadpkgsrc-544ecb6a4e70a768d65234eaa8c269ec2e3d8faa.tar.gz
add CONFIG_SHELL to CONFIGURE_ENV. This avoids picking up bash as the shell
which complains about the buildlink vaiable names containing '.' in them.
-rw-r--r--mk/bsd.pkg.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 6f377bb22d9..afbf0975a99 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.958 2002/04/05 23:26:49 rh Exp $
+# $NetBSD: bsd.pkg.mk,v 1.959 2002/04/07 17:09:57 dmcmahill Exp $
#
# This file is in the public domain.
#
@@ -244,8 +244,11 @@ LIBS+= -L${LOCALBASE}/lib -lintl
.endif
# If GNU_CONFIGURE is defined, then pass LIBS to the GNU configure script.
+# also pass in a CONFIG_SHELL to avoid picking up bash
.if defined(GNU_CONFIGURE)
CONFIGURE_ENV+= LIBS="${LIBS}"
+CONFIG_SHELL?= ${SH}
+CONFIGURE_ENV+= CONFIG_SHELL=${CONFIG_SHELL}
.endif
LIBTOOL_REQD= 1.4.20010614nb8