From d0d8cc6b851f452373c9ea57f4bbad57094641f8 Mon Sep 17 00:00:00 2001 From: jwise Date: Tue, 29 Aug 2000 15:13:43 +0000 Subject: Rework shared library runtime search flags slightly, and improve the values of such flags that get exported in ${PREFIX}/lib/tclConfig.sh --- lang/tcl/files/patch-sum | 6 +++--- lang/tcl/patches/patch-aa | 8 ++++---- lang/tcl/patches/patch-ab | 38 ++++++++++++-------------------------- 3 files changed, 19 insertions(+), 33 deletions(-) (limited to 'lang') diff --git a/lang/tcl/files/patch-sum b/lang/tcl/files/patch-sum index 4ec0dba99bf..d0423c3ae12 100644 --- a/lang/tcl/files/patch-sum +++ b/lang/tcl/files/patch-sum @@ -1,5 +1,5 @@ -$NetBSD: patch-sum,v 1.2 2000/08/24 22:48:15 jwise Exp $ +$NetBSD: patch-sum,v 1.3 2000/08/29 15:13:43 jwise Exp $ -MD5 (patch-aa) = 2ec4e0d0fba9939168ded0af10bad055 -MD5 (patch-ab) = 84805ac4fd2dea2a29e94138aea6863a +MD5 (patch-aa) = b1eb7d53df863592cbf1b0aecd3e7c7c +MD5 (patch-ab) = bba42adcdb6cf2262ea333880fb321b9 MD5 (patch-ac) = 6d7acb944f0ffc6111cd9a250b4ecea2 diff --git a/lang/tcl/patches/patch-aa b/lang/tcl/patches/patch-aa index 20e8a6d69d5..81f0402cee1 100644 --- a/lang/tcl/patches/patch-aa +++ b/lang/tcl/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.1.1.1 2000/08/24 19:53:33 jwise Exp $ +$NetBSD: patch-aa,v 1.2 2000/08/29 15:13:44 jwise Exp $ --- Makefile.in.orig Tue Aug 8 15:17:11 2000 +++ Makefile.in Thu Aug 24 12:01:11 2000 @@ -161,8 +161,8 @@ @@ -18,8 +18,8 @@ $NetBSD: patch-aa,v 1.1.1.1 2000/08/24 19:53:33 jwise Exp $ -STLIB_LD = @STLIB_LD@ -SHLIB_LD = @SHLIB_LD@ -+STLIB_LD = ${LIBTOOL} --mode=link @CC@ -+SHLIB_LD = ${LIBTOOL} --mode=link @CC@ ++STLIB_LD = ${LIBTOOL} --mode=link @CC@ -rpath ${PREFIX}/lib ++SHLIB_LD = ${LIBTOOL} --mode=link @CC@ -rpath ${PREFIX}/lib SHLIB_CFLAGS = @SHLIB_CFLAGS@ SHLIB_SUFFIX = @SHLIB_SUFFIX@ @@ -38,7 +38,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2000/08/24 19:53:33 jwise Exp $ #CC = purify -best-effort @CC@ -CC = @CC@ +CC = ${LIBTOOL} --mode=compile @CC@ -+LD = ${LIBTOOL} --mode=link @CC@ ++LD = ${LIBTOOL} --mode=link @CC@ -Wl,-R${PREFIX}/lib #---------------------------------------------------------------- # The information below should be usable as is. The configure diff --git a/lang/tcl/patches/patch-ab b/lang/tcl/patches/patch-ab index e8047aef13d..83733a6ed23 100644 --- a/lang/tcl/patches/patch-ab +++ b/lang/tcl/patches/patch-ab @@ -1,38 +1,24 @@ --- configure.orig Tue Aug 8 15:17:11 2000 -+++ configure Thu Aug 24 17:27:16 2000 -@@ -5070,8 +5071,8 @@ - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="" -- LDFLAGS="" -- LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' -+ LDFLAGS="-version-info 1:0" -+ LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' - echo $ac_n "checking for ELF""... $ac_c" 1>&6 - echo "configure:5077: checking for ELF" >&5 - cat > conftest.$ac_ext <