summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjwise <jwise@pkgsrc.org>2004-01-21 19:30:33 +0000
committerjwise <jwise@pkgsrc.org>2004-01-21 19:30:33 +0000
commit15352b25c711d4439490b56e9c055a7394d34b27 (patch)
treebe7e53e4772d8a19a70252304d4c03444b2166d3 /lang
parent564fcae2c5ebd7d0f0bf35c3a6542ba0a0901417 (diff)
downloadpkgsrc-15352b25c711d4439490b56e9c055a7394d34b27.tar.gz
Apply a fix for library naming on IRIX 5 and 6, based on a patch
submitted in private mail by Georg Schwarz. Prevents PLIST mismatches on these platforms. Tested for non-interference with other platforms, but no specific IRIX testing of this version of fix yet performed.
Diffstat (limited to 'lang')
-rw-r--r--lang/tcl/distinfo6
-rw-r--r--lang/tcl/patches/patch-ab60
-rw-r--r--lang/tcl/patches/patch-af42
3 files changed, 84 insertions, 24 deletions
diff --git a/lang/tcl/distinfo b/lang/tcl/distinfo
index 8b182865b54..306ec6f032a 100644
--- a/lang/tcl/distinfo
+++ b/lang/tcl/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.15 2004/01/05 11:22:13 jlam Exp $
+$NetBSD: distinfo,v 1.16 2004/01/21 19:30:33 jwise Exp $
SHA1 (tcl8.3.4.tar.gz) = b179f1f51b322b7045cf152b73df4f3d01da82ec
Size (tcl8.3.4.tar.gz) = 2654756 bytes
SHA1 (patch-aa) = 3e9fa9427f40a4c6b1f97bcda58fefe9d5cf20ce
-SHA1 (patch-ab) = 0350ffd17fe5e88d3e179b960d374248b41f9ad5
+SHA1 (patch-ab) = 5d89be3be6ac4cec9d9dc3a553c14aeaeeba9889
SHA1 (patch-ac) = d1e1b6ed334ff424140a678ed098504cc14614e8
SHA1 (patch-ae) = 5eee14adec88cf0cac5715fe0cfe7420b9b83774
-SHA1 (patch-af) = e19764a58f5ddd6b5b62e785ae305069c535f865
+SHA1 (patch-af) = 7b89db16f63cd3574b24234614c86f5f7ee9d2a3
diff --git a/lang/tcl/patches/patch-ab b/lang/tcl/patches/patch-ab
index 05be65aa30c..bbef1d9c05c 100644
--- a/lang/tcl/patches/patch-ab
+++ b/lang/tcl/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.19 2004/01/05 11:22:13 jlam Exp $
+$NetBSD: patch-ab,v 1.20 2004/01/21 19:30:33 jwise Exp $
---- configure.orig Fri Oct 19 17:24:15 2001
-+++ configure
-@@ -4776,6 +4776,7 @@ fi
+--- configure.orig 2001-10-19 20:24:15.000000000 -0400
++++ configure 2004-01-21 14:20:41.000000000 -0500
+@@ -4776,6 +4776,7 @@
# Step 3: set configuration options based on system name and version.
do64bit_ok=no
@@ -10,7 +10,37 @@ $NetBSD: patch-ab,v 1.19 2004/01/05 11:22:13 jlam Exp $
EXTRA_CFLAGS=""
TCL_EXPORT_FILE_SUFFIX=""
UNSHARED_LIB_SUFFIX=""
-@@ -5298,6 +5299,9 @@ fi
+@@ -5114,6 +5115,9 @@
+ LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
+ EXTRA_CFLAGS=""
+ LDFLAGS=""
++ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
++ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
++ TCL_LIB_VERSIONS_OK=nodots
+ ;;
+ IRIX-6.*|IRIX64-6.5*)
+ SHLIB_CFLAGS=""
+@@ -5138,6 +5142,9 @@
+ esac
+ LDFLAGS="-n32"
+ fi
++ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
++ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
++ TCL_LIB_VERSIONS_OK=nodots
+ ;;
+ IRIX64-6.*)
+ SHLIB_CFLAGS=""
+@@ -5148,6 +5155,9 @@
+ DL_LIBS=""
+ LDFLAGS=""
+ LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
++ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
++ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
++ TCL_LIB_VERSIONS_OK=nodots
+ ;;
+ Linux*)
+ SHLIB_CFLAGS="-fPIC"
+@@ -5298,6 +5308,9 @@
LD_SEARCH_FLAGS=""
;;
NetBSD-*|FreeBSD-[1-2].*|OpenBSD-*)
@@ -20,7 +50,7 @@ $NetBSD: patch-ab,v 1.19 2004/01/05 11:22:13 jlam Exp $
# Not available on all versions: check for include file.
ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
-@@ -5330,17 +5334,15 @@ if eval "test \"`echo '$ac_cv_header_'$a
+@@ -5330,17 +5343,15 @@
# NetBSD/SPARC needs -fPIC, -fpic will not do.
SHLIB_CFLAGS="-fPIC"
@@ -40,7 +70,7 @@ $NetBSD: patch-ab,v 1.19 2004/01/05 11:22:13 jlam Exp $
#include "confdefs.h"
#ifdef __ELF__
-@@ -5351,11 +5353,20 @@ EOF
+@@ -5351,11 +5362,20 @@
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "yes" >/dev/null 2>&1; then
rm -rf conftest*
@@ -63,7 +93,7 @@ $NetBSD: patch-ab,v 1.19 2004/01/05 11:22:13 jlam Exp $
SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
fi
-@@ -5569,6 +5580,9 @@ EOF
+@@ -5569,6 +5589,9 @@
DL_LIBS="-ldl"
LDFLAGS=""
LD_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
@@ -73,7 +103,7 @@ $NetBSD: patch-ab,v 1.19 2004/01/05 11:22:13 jlam Exp $
;;
SunOS-5*)
-@@ -5616,6 +5630,9 @@ EOF
+@@ -5616,6 +5639,9 @@
else
LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
fi
@@ -83,7 +113,7 @@ $NetBSD: patch-ab,v 1.19 2004/01/05 11:22:13 jlam Exp $
;;
ULTRIX-4.*)
SHLIB_CFLAGS="-G 0"
-@@ -6103,7 +6120,7 @@ if test "${SHARED_BUILD}" = "1" -a "${SH
+@@ -6103,7 +6129,7 @@
if test "x$DL_OBJS" = "xtclLoadAout.o"; then
MAKE_LIB="\${STLIB_LD} \$@ \${OBJS}"
else
@@ -92,7 +122,7 @@ $NetBSD: patch-ab,v 1.19 2004/01/05 11:22:13 jlam Exp $
fi
else
case $system in
-@@ -6141,7 +6158,7 @@ if test "$SHARED_BUILD" = "0" -o $TCL_NE
+@@ -6141,7 +6167,7 @@
TCL_LIB_FLAG="-ltcl`echo ${TCL_VERSION} | tr -d .`\${TCL_DBGX}"
fi
TCL_BUILD_LIB_SPEC="-L`pwd` ${TCL_LIB_FLAG}"
@@ -101,7 +131,7 @@ $NetBSD: patch-ab,v 1.19 2004/01/05 11:22:13 jlam Exp $
else
TCL_BUILD_EXP_FILE="lib.exp"
eval "TCL_EXP_FILE=libtcl${TCL_EXPORT_FILE_SUFFIX}"
-@@ -6171,10 +6188,17 @@ VERSION=${TCL_VERSION}
+@@ -6171,10 +6197,17 @@
#--------------------------------------------------------------------
if test "$prefix" != "$exec_prefix"; then
@@ -121,7 +151,7 @@ $NetBSD: patch-ab,v 1.19 2004/01/05 11:22:13 jlam Exp $
#--------------------------------------------------------------------
# The statements below define various symbols relating to Tcl
-@@ -6186,7 +6210,7 @@ eval "TCL_STUB_LIB_FILE=libtclstub${TCL_
+@@ -6186,7 +6219,7 @@
# Replace DBGX with TCL_DBGX
eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""
@@ -130,7 +160,7 @@ $NetBSD: patch-ab,v 1.19 2004/01/05 11:22:13 jlam Exp $
if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
TCL_STUB_LIB_FLAG="-ltclstub${TCL_VERSION}\${TCL_DBGX}"
-@@ -6262,6 +6286,8 @@ TCL_SHARED_BUILD=${SHARED_BUILD}
+@@ -6262,6 +6295,8 @@
@@ -139,7 +169,7 @@ $NetBSD: patch-ab,v 1.19 2004/01/05 11:22:13 jlam Exp $
trap '' 1 2 15
cat > confcache <<\EOF
# This file is a shell script that caches the results of configure
-@@ -6437,12 +6463,12 @@ s%@TCL_DBGX@%$TCL_DBGX%g
+@@ -6437,12 +6472,12 @@
s%@CFG_TCL_SHARED_LIB_SUFFIX@%$CFG_TCL_SHARED_LIB_SUFFIX%g
s%@CFG_TCL_UNSHARED_LIB_SUFFIX@%$CFG_TCL_UNSHARED_LIB_SUFFIX%g
s%@CFG_TCL_EXPORT_FILE_SUFFIX@%$CFG_TCL_EXPORT_FILE_SUFFIX%g
diff --git a/lang/tcl/patches/patch-af b/lang/tcl/patches/patch-af
index 21608c0038b..0baf96691a6 100644
--- a/lang/tcl/patches/patch-af
+++ b/lang/tcl/patches/patch-af
@@ -1,7 +1,7 @@
-$NetBSD: patch-af,v 1.6 2001/12/23 17:02:32 bjoern Exp $
+$NetBSD: patch-af,v 1.7 2004/01/21 19:30:33 jwise Exp $
---- tcl.m4.orig Sat Oct 20 02:24:15 2001
-+++ tcl.m4
+--- tcl.m4.orig 2001-10-19 20:24:15.000000000 -0400
++++ tcl.m4 2004-01-21 13:57:23.000000000 -0500
@@ -601,6 +601,7 @@
# Step 3: set configuration options based on system name and version.
@@ -10,7 +10,37 @@ $NetBSD: patch-af,v 1.6 2001/12/23 17:02:32 bjoern Exp $
EXTRA_CFLAGS=""
TCL_EXPORT_FILE_SUFFIX=""
UNSHARED_LIB_SUFFIX=""
-@@ -910,28 +911,36 @@
+@@ -790,6 +791,9 @@
+ LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
+ EXTRA_CFLAGS=""
+ LDFLAGS=""
++ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
++ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
++ TCL_LIB_VERSIONS_OK=nodots
+ ;;
+ IRIX-6.*|IRIX64-6.5*)
+ SHLIB_CFLAGS=""
+@@ -814,6 +818,9 @@
+ esac
+ LDFLAGS="-n32"
+ fi
++ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
++ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
++ TCL_LIB_VERSIONS_OK=nodots
+ ;;
+ IRIX64-6.*)
+ SHLIB_CFLAGS=""
+@@ -824,6 +831,9 @@
+ DL_LIBS=""
+ LDFLAGS=""
+ LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
++ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
++ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
++ TCL_LIB_VERSIONS_OK=nodots
+ ;;
+ Linux*)
+ SHLIB_CFLAGS="-fPIC"
+@@ -910,28 +920,36 @@
LD_SEARCH_FLAGS=""
;;
NetBSD-*|FreeBSD-[[1-2]].*|OpenBSD-*)
@@ -52,7 +82,7 @@ $NetBSD: patch-af,v 1.6 2001/12/23 17:02:32 bjoern Exp $
], [
SHLIB_CFLAGS=""
SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r"
-@@ -1129,6 +1138,9 @@
+@@ -1129,6 +1147,9 @@
DL_LIBS="-ldl"
LDFLAGS=""
LD_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
@@ -62,7 +92,7 @@ $NetBSD: patch-af,v 1.6 2001/12/23 17:02:32 bjoern Exp $
;;
SunOS-5*)
-@@ -1173,6 +1185,9 @@
+@@ -1173,6 +1194,9 @@
else
LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
fi