summaryrefslogtreecommitdiff
path: root/lang/tcl/patches
diff options
context:
space:
mode:
authorjwise <jwise@pkgsrc.org>2001-06-13 18:02:13 +0000
committerjwise <jwise@pkgsrc.org>2001-06-13 18:02:13 +0000
commit2de67fe37d33f580adaada52a3a4e67a87ee93b5 (patch)
tree325f85e16608f218bf7a0a32cce7aac6f04e9027 /lang/tcl/patches
parent53de29a8acf0f8ed754bdde12bd1b16c469fa189 (diff)
downloadpkgsrc-2de67fe37d33f580adaada52a3a4e67a87ee93b5.tar.gz
Fix generated tclConfig.sh by fixing determination of TCL_LIB_SPEC in configure.
Previously, TCL_LIB_SPEC required the including program to explicitly set ${exec_path}. This means that programs which used autoconf _and_ tclConfig.sh accidentally worked. Other programs failed if they depended on the value of TCL_LIB_SPEC. One such failing program is ap-dtcl, which was updated to depend on tclConfig.sh without the package maintainer being contacted. This update caused mod_dtcl.so to be built with a bad ELF rpath -- clearly the developer who updated this did not test it on any ELF platform (if at all). There, that's out of my system now. I'm off for more coffee.
Diffstat (limited to 'lang/tcl/patches')
-rw-r--r--lang/tcl/patches/patch-ab8
1 files changed, 3 insertions, 5 deletions
diff --git a/lang/tcl/patches/patch-ab b/lang/tcl/patches/patch-ab
index 1e9505a729e..d318a5bc0bc 100644
--- a/lang/tcl/patches/patch-ab
+++ b/lang/tcl/patches/patch-ab
@@ -1,7 +1,5 @@
-$NetBSD: patch-ab,v 1.8 2001/05/24 02:58:16 jlam Exp $
-
--- configure.orig Tue Aug 8 15:17:11 2000
-+++ configure
++++ configure Wed Jun 13 12:03:27 2001
@@ -4766,6 +4766,7 @@
do64bit_ok=no
@@ -39,7 +37,7 @@ $NetBSD: patch-ab,v 1.8 2001/05/24 02:58:16 jlam Exp $
+ echo "$ac_t""yes" 1>&6
+ SHLIB_LD='${TCL_CC} -shared -Wl,-x'
+ LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
-+ TCL_LIB_SPEC_RPATH='-Wl,-rpath,${exec_prefix}/lib'
++ TCL_LIB_SPEC_RPATH="-Wl,-rpath,${exec_prefix}/lib"
SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
+
else
@@ -49,7 +47,7 @@ $NetBSD: patch-ab,v 1.8 2001/05/24 02:58:16 jlam Exp $
+ echo "$ac_t""no" 1>&6
+ SHLIB_LD="ld -Bshareable -x"
+ LD_SEARCH_FLAGS='-R${LIB_RUNTIME_DIR}'
-+ TCL_LIB_SPEC_RPATH='-R${exec_prefix}/lib'
++ TCL_LIB_SPEC_RPATH="-R${exec_prefix}/lib"
SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
fi