diff options
author | jwise <jwise> | 2001-06-13 18:02:13 +0000 |
---|---|---|
committer | jwise <jwise> | 2001-06-13 18:02:13 +0000 |
commit | fd1b5ac7edcf7b9610f9b2590493ee62860219be (patch) | |
tree | 325f85e16608f218bf7a0a32cce7aac6f04e9027 /lang | |
parent | f7f9448d64f21e33c3bd8748fd6529f8319151d7 (diff) | |
download | pkgsrc-fd1b5ac7edcf7b9610f9b2590493ee62860219be.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')
-rw-r--r-- | lang/tcl/distinfo | 4 | ||||
-rw-r--r-- | lang/tcl/patches/patch-ab | 8 |
2 files changed, 5 insertions, 7 deletions
diff --git a/lang/tcl/distinfo b/lang/tcl/distinfo index a7325361a0e..92c56cb6133 100644 --- a/lang/tcl/distinfo +++ b/lang/tcl/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.3 2001/05/24 02:58:15 jlam Exp $ +$NetBSD: distinfo,v 1.4 2001/06/13 18:02:13 jwise Exp $ SHA1 (tcl8.3.2.tar.gz) = be2701bca3f4fd9c49ef3e2e8932f8b0a10d28fa Size (tcl8.3.2.tar.gz) = 2594407 bytes SHA1 (patch-aa) = d0ca1287d6d4416da4bad69525285ccd785b553f -SHA1 (patch-ab) = f6dc76f918a3539d2bab9d552b5c6be2e6e364ce +SHA1 (patch-ab) = 77626a12b0913e511a1990c6d69148fcb6d55eb8 SHA1 (patch-ac) = 6f6f8e8b0ab6744662e7365511161e29affe62fc SHA1 (patch-ad) = 22412c6b564e7b6baced01c4c35bc6efa994fc8f SHA1 (patch-ae) = 0ec38469f8f9dbfdce6a6c3f5311f03903e10741 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 |