pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/libtcl-nothread Fix build on DragonFly and possib...
details: https://anonhg.NetBSD.org/pkgsrc/rev/bee9eec2c84c
branches: trunk
changeset: 512850:bee9eec2c84c
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue May 16 14:57:02 2006 +0000
description:
Fix build on DragonFly and possibly also on FreeBSD.
diffstat:
lang/libtcl-nothread/distinfo | 4 ++--
lang/libtcl-nothread/patches/patch-ab | 25 ++++++++++++++++++++++---
2 files changed, 24 insertions(+), 5 deletions(-)
diffs (63 lines):
diff -r 1b531410817c -r bee9eec2c84c lang/libtcl-nothread/distinfo
--- a/lang/libtcl-nothread/distinfo Tue May 16 14:34:44 2006 +0000
+++ b/lang/libtcl-nothread/distinfo Tue May 16 14:57:02 2006 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 09:03:09 agc Exp $
+$NetBSD: distinfo,v 1.3 2006/05/16 14:57:02 joerg Exp $
SHA1 (tcl8.4.6-src.tar.gz) = d21495ca04419fc3b1594b96b19116040c33a3f0
RMD160 (tcl8.4.6-src.tar.gz) = c282a1ce3b71d6b91b0b59fbc323d6ce05cba66f
Size (tcl8.4.6-src.tar.gz) = 3448711 bytes
SHA1 (patch-aa) = 39a4b3649c840ad1ccdce34fc8c3b4f3e38c3e06
-SHA1 (patch-ab) = 7b5dc8c937fedf43042a558f7afdec2a93ba3a62
+SHA1 (patch-ab) = 3e47741b76ceee8a91e8f8c566566e5a12ead2e8
SHA1 (patch-ac) = efc40f45f73cec2770231ff515314fc41bbd166e
SHA1 (patch-ae) = 9a6f9b47c926f851a799ece713668f0955344ce3
SHA1 (patch-af) = 164fa9ee7fe4baa9b3f3a13716aefbf415e3be0a
diff -r 1b531410817c -r bee9eec2c84c lang/libtcl-nothread/patches/patch-ab
--- a/lang/libtcl-nothread/patches/patch-ab Tue May 16 14:34:44 2006 +0000
+++ b/lang/libtcl-nothread/patches/patch-ab Tue May 16 14:57:02 2006 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.1.1.1 2004/06/22 18:38:47 drochner Exp $
+$NetBSD: patch-ab,v 1.2 2006/05/16 14:57:02 joerg Exp $
---- configure.orig Mon Mar 1 18:58:59 2004
+--- configure.orig 2004-03-01 23:58:59.000000000 +0000
+++ configure
@@ -5613,12 +5613,13 @@ fi
# Step 3: set configuration options based on system name and version.
@@ -280,7 +280,16 @@
CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
-@@ -6344,14 +6355,14 @@ fi
+@@ -6336,7 +6347,7 @@ fi
+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
+ TCL_LIB_VERSIONS_OK=nodots
+ ;;
+- FreeBSD-*)
++ FreeBSD-*|DragonFly-*)
+ # FreeBSD 3.* and greater have ELF.
+ SHLIB_CFLAGS="-fPIC"
+ SHLIB_LD="ld -Bshareable -x"
+@@ -6344,23 +6355,23 @@ fi
SHLIB_SUFFIX=".so"
DL_OBJS="tclLoadDl.o"
DL_LIBS=""
@@ -297,6 +306,16 @@
fi
case $system in
FreeBSD-3.*)
+ # FreeBSD-3 doesn't handle version numbers with dots.
+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
+- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
+ TCL_LIB_VERSIONS_OK=nodots
+ ;;
+ esac
++ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
+ ;;
+ Rhapsody-*|Darwin-*)
+ SHLIB_CFLAGS="-fno-common"
@@ -6372,7 +6383,7 @@ fi
DL_OBJS="tclLoadDyld.o"
PLAT_OBJS="tclMacOSXBundle.o"
Home |
Main Index |
Thread Index |
Old Index