summaryrefslogtreecommitdiff
path: root/lang/tcl/patches/patch-af
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-07-29 07:09:51 +0000
committertron <tron@pkgsrc.org>2001-07-29 07:09:51 +0000
commit93a8d206d2d5e67c25898be2e95933a2899bf363 (patch)
tree5a404117ccf1b739b988d981f2d6cb04a4689bb1 /lang/tcl/patches/patch-af
parent2c979cb465aec1be8da08aac99be7e205ea307c1 (diff)
downloadpkgsrc-93a8d206d2d5e67c25898be2e95933a2899bf363.tar.gz
Use the library naming scheme under Solaris as under NetBSD. While it's
not really necessary to strip dots from library names under Solaris it makes the packages more compatible which should ease maintenance.
Diffstat (limited to 'lang/tcl/patches/patch-af')
-rw-r--r--lang/tcl/patches/patch-af26
1 files changed, 23 insertions, 3 deletions
diff --git a/lang/tcl/patches/patch-af b/lang/tcl/patches/patch-af
index 026a20d7070..b2d904cb607 100644
--- a/lang/tcl/patches/patch-af
+++ b/lang/tcl/patches/patch-af
@@ -1,7 +1,7 @@
-$NetBSD: patch-af,v 1.3 2001/07/25 19:42:58 jlam Exp $
+$NetBSD: patch-af,v 1.4 2001/07/29 07:09:52 tron Exp $
---- tcl.m4.orig Tue Aug 8 12:17:11 2000
-+++ tcl.m4
+--- tcl.m4.orig Tue Aug 8 21:17:11 2000
++++ tcl.m4 Sun Jul 29 08:54:14 2001
@@ -595,6 +595,7 @@
do64bit_ok=no
@@ -52,3 +52,23 @@ $NetBSD: patch-af,v 1.3 2001/07/25 19:42:58 jlam Exp $
], [
SHLIB_CFLAGS=""
SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r"
+@@ -973,6 +982,9 @@
+ DL_LIBS="-ldl"
+ LDFLAGS=""
+ LD_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
++ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
++ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
++ TCL_LIB_VERSIONS_OK=nodots
+ ;;
+ SunOS-5*)
+ SHLIB_CFLAGS="-KPIC"
+@@ -1012,6 +1024,9 @@
+ else
+ LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
+ fi
++ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
++ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
++ TCL_LIB_VERSIONS_OK=nodots
+ ;;
+ ULTRIX-4.*)
+ SHLIB_CFLAGS="-G 0"