summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-12-16 11:53:50 +0000
committerpeter <peter@FreeBSD.org>1996-12-16 11:53:50 +0000
commite014c54efc432a769bc21592a05c504cf19e1612 (patch)
treec720a5c8119f0af0e162981490dd90ddfe3aaff5 /tools
parenta9973bd44981b4e82491400f29abe03c1a2c4520 (diff)
downloadFreeBSD-src-e014c54efc432a769bc21592a05c504cf19e1612.zip
FreeBSD-src-e014c54efc432a769bc21592a05c504cf19e1612.tar.gz
Reverse the tcl configure's decision to "disable" the use of ranlib since
it's wrong. It "knows" that ranlib is not used on shared libraries, this is not a valid assumption since it exports this definition to the world via tclConfig.sh. :-( Hence, things like expect (to be updated) fall over because they were using ":" instead of "ranlib" on their static libraries.
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/tcl_bmake/mkMakefile.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/tools/tcl_bmake/mkMakefile.sh b/tools/tools/tcl_bmake/mkMakefile.sh
index 668ea73..1492d93 100644
--- a/tools/tools/tcl_bmake/mkMakefile.sh
+++ b/tools/tools/tcl_bmake/mkMakefile.sh
@@ -1,5 +1,5 @@
#! /bin/sh
-# $Id: mkMakefile.sh,v 1.15 1996/10/30 08:44:18 peter Exp $
+# $Id: mkMakefile.sh,v 1.16 1996/10/31 15:57:25 peter Exp $
#
# This script generates a bmake Makefile for src/lib/libtcl
#
@@ -45,7 +45,7 @@ echo '#
# Please change src/tools/tools/tcl_bmake/mkMakefile.sh instead
#
# Generated by src/tools/tools/tcl_bmake/mkMakefile.sh version:
-# $Id: mkMakefile.sh,v 1.15 1996/10/30 08:44:18 peter Exp $
+# $Id: mkMakefile.sh,v 1.16 1996/10/31 15:57:25 peter Exp $
#
' | tr -d '$' >> ${LIBTCL}Makefile
@@ -205,6 +205,7 @@ EOF
sed < ${SRCDIR}/unix/tclConfig.sh > ${LIBTCL}/tclConfig.sh \
-e '/^TCL.*_LIB_SPEC=/s/-L.* //' \
- -e "/libtcl/s/\.so\.1\.0/.so.1.${SHLIB_MINOR}/"
+ -e "/libtcl/s/\.so\.1\.0/.so.1.${SHLIB_MINOR}/" \
+ -e "/RANLIB/s/:/ranlib/"
rm -f m.x ${SRCDIR}/unix/config.log ${SRCDIR}/unix/Makefile ${SRCDIR}/unix/config.cache ${SRCDIR}/unix/config.status ${SRCDIR}/unix/tclConfig.sh
OpenPOWER on IntegriCloud