diff options
author | jschauma <jschauma> | 2005-04-11 02:44:26 +0000 |
---|---|---|
committer | jschauma <jschauma> | 2005-04-11 02:44:26 +0000 |
commit | 8a6acbfb6fb64196f45e76c556c07ff6e62e969c (patch) | |
tree | 684868e4e0114f8b366c7c1b2742a821d7619111 /lang/tcl83 | |
parent | be3e7661b040154e02a275114223f56618c7357f (diff) | |
download | pkgsrc-8a6acbfb6fb64196f45e76c556c07ff6e62e969c.tar.gz |
patch tclConfig.sh and tkConfig.sh so that they do not contain references
to the build environment, which of course no longer exists once we
install the file. Also make sure that variables are set using
double quotes, so that variables inside are expanded. Ok jwise@.
Diffstat (limited to 'lang/tcl83')
-rw-r--r-- | lang/tcl83/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lang/tcl83/Makefile b/lang/tcl83/Makefile index 00555f0b491..31e2086b8f3 100644 --- a/lang/tcl83/Makefile +++ b/lang/tcl83/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2005/03/08 13:04:14 tv Exp $ +# $NetBSD: Makefile,v 1.7 2005/04/11 02:44:26 jschauma Exp $ # DISTNAME= tcl8.3.4 @@ -65,12 +65,17 @@ post-patch: ${RM} -f mkLinks.tmp; \ ${CHMOD} +x mkLinks; -pre-install: +post-build: cd ${WRKSRC}; for file in \ tclUnixInit.o libtcl83.so tclsh; \ do \ ${TOUCH} $${file}; \ done + ${SED} -e "s|^\(.*\)='\(.*\)'|\1=\"\2\"|" \ + -e "s|${WRKSRC}|${PREFIX}/lib|" \ + -e "s|${WRKDIR}/${DISTNAME:C/-src//}|${PREFIX}|" \ + ${WRKSRC}/tclConfig.sh > ${WRKSRC}/tclConfig.sh.tmp && \ + ${MV} ${WRKSRC}/tclConfig.sh.tmp ${WRKSRC}/tclConfig.sh post-install: cd ${WRKDIR} && ${PAX} -rwpm man ${PREFIX} |