pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/tcl



Module Name:    pkgsrc
Committed By:   dsainty
Date:           Sat Jul 22 23:40:07 UTC 2017

Modified Files:
        pkgsrc/lang/tcl: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 pkgsrc/lang/tcl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/tcl/Makefile
diff -u pkgsrc/lang/tcl/Makefile:1.95 pkgsrc/lang/tcl/Makefile:1.96
--- pkgsrc/lang/tcl/Makefile:1.95       Sat Apr 22 21:03:41 2017
+++ pkgsrc/lang/tcl/Makefile    Sat Jul 22 23:40:07 2017
@@ -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 \



Home | Main Index | Thread Index | Old Index