summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrichard <richard@pkgsrc.org>2016-05-28 15:25:56 +0000
committerrichard <richard@pkgsrc.org>2016-05-28 15:25:56 +0000
commit238cc2ab3df5571308051b75fe770f7708546c65 (patch)
treec072f348a1de0a2b7aa2c226903e3eb94238ceab
parent319b8bc5184836f987253ca12b2467557d09989f (diff)
downloadpkgsrc-238cc2ab3df5571308051b75fe770f7708546c65.tar.gz
Ensure that SHELL (which may be defined in user environment) is comptabible
with CONFIG_SHELL with respect to possible builtins used such as 'echo -n'. Fixes install on SunOS using pdksh but with bash as the interactive user shell.
-rw-r--r--lang/guile20/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/guile20/Makefile b/lang/guile20/Makefile
index a5158964960..6779475fd65 100644
--- a/lang/guile20/Makefile
+++ b/lang/guile20/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2014/11/01 13:24:37 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2016/05/28 15:25:56 richard Exp $
DISTNAME= guile-2.0.11
PKGNAME= ${DISTNAME:S/guile/guile20/}
@@ -21,6 +21,8 @@ CONFIGURE_ARGS+= --prefix=${GUILE_PREFIX}
CONFIGURE_ARGS+= --mandir=${GUILE_PREFIX}/${PKGMANDIR}
CONFIGURE_ARGS+= --infodir=${GUILE_PREFIX}/${PKGINFODIR}
+CONFIGURE_ARGS+= SHELL=${CONFIG_SHELL}
+
BUILDLINK_PASSTHRU_DIRS+= ${GUILE_PREFIX}
LDFLAGS+= ${COMPILER_RPATH_FLAG}${GUILE_PREFIX}/lib