summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authordsainty <dsainty@pkgsrc.org>2017-07-22 23:40:07 +0000
committerdsainty <dsainty@pkgsrc.org>2017-07-22 23:40:07 +0000
commitf2131ff3713cfd6190c09ff285a094252b531a8c (patch)
treec2748c5a71f1b331ee0af3d992d8341c5c321849 /lang
parent6177644cd63bd541388aa259b9046746957e15e1 (diff)
downloadpkgsrc-f2131ff3713cfd6190c09ff285a094252b531a8c.tar.gz
install-sh requires that $SHELL is an extremely close match to /bin/sh.
The install would presumably fail outright for user shells like tcsh, so we need to set SHELL regardless. But technically install-sh has a quoting bug in the exit trap, which even results in SHELL=zsh failing.
Diffstat (limited to 'lang')
-rw-r--r--lang/tcl/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/tcl/Makefile b/lang/tcl/Makefile
index 3018bf7ddad..b470deeb5dc 100644
--- a/lang/tcl/Makefile
+++ b/lang/tcl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.95 2017/04/22 21:03:41 adam Exp $
+# $NetBSD: Makefile,v 1.96 2017/07/22 23:40:07 dsainty Exp $
DISTNAME= tcl${TCL_VERSION}-src
PKGNAME= tcl-${TCL_VERSION}
@@ -55,6 +55,9 @@ SUBST_STAGE.sqllink= pre-configure
SUBST_FILES.sqllink= pkgs/sqlite3.13.0/configure
SUBST_SED.sqllink= -e "/LIBS=/s|-lsqlite3|-L${BUILDLINK_PREFIX.sqlite3}/lib ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.sqlite3}/lib -lsqlite3|g"
+# install-sh requires $SHELL is an extremely close match to /bin/sh
+MAKE_ENV+= SHELL=${SH:Q}
+
.if ${OPSYS} == "Darwin"
post-build:
. for lib in itcl${ITCL_VERSION}/libitcl${ITCL_VERSION}.dylib \