diff options
author | joerg <joerg@pkgsrc.org> | 2006-05-16 14:57:02 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-05-16 14:57:02 +0000 |
commit | 1bf99d06a53eb05e1289a09c9c5cb7758585dab3 (patch) | |
tree | 7542b4adce9620bef4e080e8849c0ff1b8ec4625 /lang/libtcl-nothread | |
parent | fb108e4f0342a130e3fd1f0758b41d77b44e54e9 (diff) | |
download | pkgsrc-1bf99d06a53eb05e1289a09c9c5cb7758585dab3.tar.gz |
Fix build on DragonFly and possibly also on FreeBSD.
Diffstat (limited to 'lang/libtcl-nothread')
-rw-r--r-- | lang/libtcl-nothread/distinfo | 4 | ||||
-rw-r--r-- | lang/libtcl-nothread/patches/patch-ab | 25 |
2 files changed, 24 insertions, 5 deletions
diff --git a/lang/libtcl-nothread/distinfo b/lang/libtcl-nothread/distinfo index be5a9c73a68..078b800cffc 100644 --- a/lang/libtcl-nothread/distinfo +++ b/lang/libtcl-nothread/distinfo @@ -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 --git a/lang/libtcl-nothread/patches/patch-ab b/lang/libtcl-nothread/patches/patch-ab index faa94d808e4..6ccab0dcc6a 100644 --- a/lang/libtcl-nothread/patches/patch-ab +++ b/lang/libtcl-nothread/patches/patch-ab @@ -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 @@ $NetBSD: patch-ab,v 1.1.1.1 2004/06/22 18:38:47 drochner Exp $ 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 @@ $NetBSD: patch-ab,v 1.1.1.1 2004/06/22 18:38:47 drochner Exp $ 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" |