Fix the sed rule that I used to hammer out the TCL_BUILD_LIB_SPEC entry

from tclConfig.sh..  It needs to be valid for the tk41 port to use...
This commit is contained in:
Peter Wemm 1996-08-29 19:30:50 +00:00
parent ff6bef0ee3
commit d6d0abc9b2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=17895

View File

@ -1,5 +1,5 @@
#! /bin/sh #! /bin/sh
# $Id: mkMakefile.sh,v 1.6 1996/08/29 10:28:51 peter Exp $ # $Id: mkMakefile.sh,v 1.7 1996/08/29 16:46:14 chuckr Exp $
# #
# This script generates a bmake Makefile for src/lib/libtcl # This script generates a bmake Makefile for src/lib/libtcl
# #
@ -40,7 +40,7 @@ echo '#
# Please change src/tools/tools/tcl_bmake/mkMakefile.sh instead # Please change src/tools/tools/tcl_bmake/mkMakefile.sh instead
# #
# Generated by src/tools/tools/tcl_bmake/mkMakefile.sh version: # Generated by src/tools/tools/tcl_bmake/mkMakefile.sh version:
# $Id: mkMakefile.sh,v 1.6 1996/08/29 10:28:51 peter Exp $ # $Id: mkMakefile.sh,v 1.7 1996/08/29 16:46:14 chuckr Exp $
# #
' | tr -d '$' >> ${LIBTCL}Makefile ' | tr -d '$' >> ${LIBTCL}Makefile
@ -162,7 +162,7 @@ echo '
.include <bsd.lib.mk> .include <bsd.lib.mk>
' >> ${LIBTCL}Makefile ' >> ${LIBTCL}Makefile
sed -e '/^TCL_BUILD_LIB_SPEC=/s/^/#XXX not available# /' < ${SRCDIR}/unix/tclConfig.sh > ${LIBTCL}/tclConfig.sh sed -e '/^TCL.*_LIB_SPEC=/s/-L.* //' < ${SRCDIR}/unix/tclConfig.sh > ${LIBTCL}/tclConfig.sh
rm -f m.x ${SRCDIR}/unix/config.log ${SRCDIR}/unix/Makefile ${SRCDIR}/unix/config.cache ${SRCDIR}/unix/config.status ${SRCDIR}/unix/tclConfig.sh rm -f m.x ${SRCDIR}/unix/config.log ${SRCDIR}/unix/Makefile ${SRCDIR}/unix/config.cache ${SRCDIR}/unix/config.status ${SRCDIR}/unix/tclConfig.sh