summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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