diff options
author | obache <obache@pkgsrc.org> | 2014-02-05 12:50:51 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2014-02-05 12:50:51 +0000 |
commit | 476dd3a6f760912c28e30e251f2a4c9df0b97992 (patch) | |
tree | d14e051f7a1c2b18f41a5c0dc3c8a978ae797c6b | |
parent | e5f15453158bdab8560ca85d1565f4dbb0c0fa84 (diff) | |
download | pkgsrc-476dd3a6f760912c28e30e251f2a4c9df0b97992.tar.gz |
Add patches for DragonFly, PR pkg/48513 by David Shao.
17 files changed, 728 insertions, 15 deletions
diff --git a/lang/tcl/distinfo b/lang/tcl/distinfo index 51f2988be4b..b77d8171085 100644 --- a/lang/tcl/distinfo +++ b/lang/tcl/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.59 2014/01/26 03:51:12 ryoon Exp $ +$NetBSD: distinfo,v 1.60 2014/02/05 12:50:51 obache Exp $ SHA1 (tcl8.6.1-src.tar.gz) = 5c83d44152cc0496cc0847a2495f659502a30e40 RMD160 (tcl8.6.1-src.tar.gz) = fbb181d26bb28fe9413bc2e07f333571b8e7e190 @@ -6,17 +6,26 @@ Size (tcl8.6.1-src.tar.gz) = 8755700 bytes SHA1 (patch-generic_tclInt.h) = 13289d8fcf5021898b06a9608bc05fc968a1ba5c SHA1 (patch-generic_tclPort.h) = 36ff05b22591d588952e55d0f13c2ef52e371d1e SHA1 (patch-generic_tclPosixStr.c) = 68da211865282fe7124cad71381658f8dfb986d6 -SHA1 (patch-pkgs_itcl4.0.0_configure) = 3a9ac905b654d7daae23d320addb7b20df2e345f -SHA1 (patch-pkgs_sqlite3.8.0_configure) = 449abdff75cecf5a5e8269c7b688fe74f80ee38e -SHA1 (patch-pkgs_tdbc1.0.0_configure) = 1839d1e257eebc9e93fa653a0a6a1dfb9ebfe5a9 -SHA1 (patch-pkgs_tdbcmysql1.0.0_configure) = 522801a319a0425667bf39a74173d9cb2f17cedb -SHA1 (patch-pkgs_tdbcodbc1.0.0_configure) = 4401fbda150b53879bb208ef51f5d150f55a0fba -SHA1 (patch-pkgs_tdbcpostgres1.0.0_configure) = c859c1115e47813d0cee849aab2279ddcb0ef207 -SHA1 (patch-pkgs_thread2.7.0_configure) = 2896d6dfde3f22969469e0a070c055e4eee122c3 +SHA1 (patch-pkgs_itcl4.0.0_configure) = e331abeffbb7e1077ed84d846e08b7054f79346d +SHA1 (patch-pkgs_itcl4.0.0_tclconfig_tcl.m4) = e2dcd0e07be03cf6e39b68cb209263b297acd5d1 +SHA1 (patch-pkgs_sqlite3.8.0_configure) = 14b61ded1cd2bb41054b45da3044638bc44004f5 +SHA1 (patch-pkgs_sqlite3.8.0_tclconfig_tcl.m4) = 6891b39dc05a037ba667c92fd2341b418030c0af +SHA1 (patch-pkgs_tdbc1.0.0_configure) = 8964e3617b36435f3bf54bebddae1d34034045c8 +SHA1 (patch-pkgs_tdbc1.0.0_tclconfig_tcl.m4) = db4802f3db9b640a559d7e1c917969c0e2ecf069 +SHA1 (patch-pkgs_tdbcmysql1.0.0_configure) = 470eb422efaa7a9f09f6c1a541b8f498acabcdec +SHA1 (patch-pkgs_tdbcmysql1.0.0_tclconfig_tcl.m4) = fbbf5b6c27e50251b56759ae9f0b0317f6e41a60 +SHA1 (patch-pkgs_tdbcodbc1.0.0_configure) = 0478fb9c6747a23df66c3c38f9f774606002187c +SHA1 (patch-pkgs_tdbcodbc1.0.0_tclconfig_tcl.m4) = 2d2418c8d7b77e84b77b4c8568f8bc3920d285fa +SHA1 (patch-pkgs_tdbcpostgres1.0.0_configure) = 7c5809cc8111cc70ee3eb75b3f5961581f1c7929 +SHA1 (patch-pkgs_tdbcpostgres1.0.0_tclconfig_tcl.m4) = 8791e43c7106affe02dd8f18e31064c7553f71ee +SHA1 (patch-pkgs_tdbcsqlite3-1.0.0_tclconfig_tcl.m4) = 59b6fea342e041b159f1cc12ebd25e0df630eccf +SHA1 (patch-pkgs_thread2.7.0_configure) = 39351e73d82415ead09ed56c7a2586db09ec8fb6 +SHA1 (patch-pkgs_thread2.7.0_tclconfig_tcl.m4) = 63d76baa8f130166d502f9ed3955111ae2a5a622 SHA1 (patch-tests_load.test) = 438695ab76e01646e49aadc01c44344a5495eabb SHA1 (patch-tests_pkgMkIndex.test) = 70d1042c1f4743052c5fa191fa7c4732a08e28a2 SHA1 (patch-unix_Makefile.in) = 1dee005fc4678a83259ba6dbec74d1c5753199b7 SHA1 (patch-unix_configure) = 873e678a1b2a6fd517414811ea37c26390ec0048 +SHA1 (patch-unix_tcl.m4) = 28b93769dbdb6710897e31634e278ece75cb682a SHA1 (patch-unix_tclConfig.sh.in) = 5a32d8e97240d14f3a03e205637fe3bf8307d868 SHA1 (patch-unix_tclUnixCompat.c) = 7ffa40a1a56345f5b86cd896e8e3b0d5748d8c5e SHA1 (patch-unix_tclUnixFCmd.c) = e715d9419a36a8414355252bb3da0ef48b07fe4f diff --git a/lang/tcl/patches/patch-pkgs_itcl4.0.0_configure b/lang/tcl/patches/patch-pkgs_itcl4.0.0_configure index 28243971a68..fbc9ed299b1 100644 --- a/lang/tcl/patches/patch-pkgs_itcl4.0.0_configure +++ b/lang/tcl/patches/patch-pkgs_itcl4.0.0_configure @@ -1,4 +1,4 @@ -$NetBSD: patch-pkgs_itcl4.0.0_configure,v 1.1 2014/01/26 03:51:12 ryoon Exp $ +$NetBSD: patch-pkgs_itcl4.0.0_configure,v 1.2 2014/02/05 12:50:51 obache Exp $ --- pkgs/itcl4.0.0/configure.orig 2012-11-07 21:54:07.000000000 +0000 +++ pkgs/itcl4.0.0/configure @@ -20,3 +20,48 @@ $NetBSD: patch-pkgs_itcl4.0.0_configure,v 1.1 2014/01/26 03:51:12 ryoon Exp $ ;; NetBSD-*|FreeBSD-[3-4].*) # FreeBSD 3.* and greater have ELF. +@@ -8837,17 +8833,17 @@ fi + ;; + esac + ;; +- FreeBSD-*) ++ FreeBSD-*|DragonFly-*) + # This configuration from FreeBSD Ports. + SHLIB_CFLAGS="-fPIC" + SHLIB_LD="${CC} -shared" +- TCL_SHLIB_LD_EXTRAS="-soname \$@" ++ TCL_SHLIB_LD_EXTRAS="-Wl,-soname \$@" + SHLIB_SUFFIX=".so" + LDFLAGS="" + if test $doRpath = yes; then + + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' +- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' ++ LD_SEARCH_FLAGS='-Wl,-rpath ${LIB_RUNTIME_DIR}' + fi + + if test "${TCL_THREADS}" = "1"; then +@@ -8859,10 +8855,10 @@ fi + fi + + # Version numbers are dot-stripped by system policy. +- TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` +- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' +- TCL_LIB_VERSIONS_OK=nodots ++# TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` ++# UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' ++# SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' ++# TCL_LIB_VERSIONS_OK=nodots + ;; + Darwin-*) + CFLAGS_OPTIMIZE="-Os" +@@ -9637,7 +9633,7 @@ fi + BSD/OS*) ;; + CYGWIN_*) ;; + IRIX*) ;; +- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; ++ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; + Darwin-*) ;; + SCO_SV-3.2*) ;; + windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_itcl4.0.0_tclconfig_tcl.m4 b/lang/tcl/patches/patch-pkgs_itcl4.0.0_tclconfig_tcl.m4 new file mode 100644 index 00000000000..f43be53b007 --- /dev/null +++ b/lang/tcl/patches/patch-pkgs_itcl4.0.0_tclconfig_tcl.m4 @@ -0,0 +1,47 @@ +$NetBSD: patch-pkgs_itcl4.0.0_tclconfig_tcl.m4,v 1.1 2014/02/05 12:50:51 obache Exp $ + +--- pkgs/itcl4.0.0/tclconfig/tcl.m4.orig 2013-09-19 20:17:09.000000000 +0000 ++++ pkgs/itcl4.0.0/tclconfig/tcl.m4 +@@ -1659,26 +1659,26 @@ AC_DEFUN([TEA_CONFIG_CFLAGS], [ + ;; + esac + ;; +- FreeBSD-*) ++ FreeBSD-*|DragonFly-*) + # This configuration from FreeBSD Ports. + SHLIB_CFLAGS="-fPIC" + SHLIB_LD="${CC} -shared" +- TCL_SHLIB_LD_EXTRAS="-soname \$[@]" ++ TCL_SHLIB_LD_EXTRAS="-Wl,-soname \$[@]" + SHLIB_SUFFIX=".so" + LDFLAGS="" + AS_IF([test $doRpath = yes], [ + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' +- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}']) ++ LD_SEARCH_FLAGS='-Wl,-rpath ${LIB_RUNTIME_DIR}']) + AS_IF([test "${TCL_THREADS}" = "1"], [ + # The -pthread needs to go in the LDFLAGS, not LIBS + LIBS=`echo $LIBS | sed s/-pthread//` + CFLAGS="$CFLAGS $PTHREAD_CFLAGS" + LDFLAGS="$LDFLAGS $PTHREAD_LIBS"]) + # Version numbers are dot-stripped by system policy. +- TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` +- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' +- TCL_LIB_VERSIONS_OK=nodots ++# TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` ++# UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' ++# SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' ++# TCL_LIB_VERSIONS_OK=nodots + ;; + Darwin-*) + CFLAGS_OPTIMIZE="-Os" +@@ -1999,7 +1999,7 @@ dnl # preprocessing tests use only CPPFL + BSD/OS*) ;; + CYGWIN_*) ;; + IRIX*) ;; +- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; ++ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; + Darwin-*) ;; + SCO_SV-3.2*) ;; + windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_sqlite3.8.0_configure b/lang/tcl/patches/patch-pkgs_sqlite3.8.0_configure index 90d7b63a1ec..b26deff3ca0 100644 --- a/lang/tcl/patches/patch-pkgs_sqlite3.8.0_configure +++ b/lang/tcl/patches/patch-pkgs_sqlite3.8.0_configure @@ -1,4 +1,4 @@ -$NetBSD: patch-pkgs_sqlite3.8.0_configure,v 1.1 2014/01/26 03:51:12 ryoon Exp $ +$NetBSD: patch-pkgs_sqlite3.8.0_configure,v 1.2 2014/02/05 12:50:51 obache Exp $ --- pkgs/sqlite3.8.0/configure.orig 2013-08-27 18:50:58.000000000 +0000 +++ pkgs/sqlite3.8.0/configure @@ -10,3 +10,48 @@ $NetBSD: patch-pkgs_sqlite3.8.0_configure,v 1.1 2014/01/26 03:51:12 ryoon Exp $ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 $as_echo_n "checking for ELF... " >&6; } if ${tcl_cv_ld_elf+:} false; then : +@@ -6547,17 +6546,17 @@ fi + ;; + esac + ;; +- FreeBSD-*) ++ FreeBSD-*|DragonFly-*) + # This configuration from FreeBSD Ports. + SHLIB_CFLAGS="-fPIC" + SHLIB_LD="${CC} -shared" +- TCL_SHLIB_LD_EXTRAS="-soname \$@" ++ TCL_SHLIB_LD_EXTRAS="-Wl,-soname \$@" + SHLIB_SUFFIX=".so" + LDFLAGS="" + if test $doRpath = yes; then : + + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' +- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' ++ LD_SEARCH_FLAGS='-Wl,-rpath ${LIB_RUNTIME_DIR}' + fi + if test "${TCL_THREADS}" = "1"; then : + +@@ -6567,10 +6566,10 @@ fi + LDFLAGS="$LDFLAGS $PTHREAD_LIBS" + fi + # Version numbers are dot-stripped by system policy. +- TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` +- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' +- TCL_LIB_VERSIONS_OK=nodots ++# TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` ++# UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' ++# SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' ++# TCL_LIB_VERSIONS_OK=nodots + ;; + Darwin-*) + CFLAGS_OPTIMIZE="-Os" +@@ -7134,7 +7133,7 @@ fi + BSD/OS*) ;; + CYGWIN_*) ;; + IRIX*) ;; +- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; ++ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; + Darwin-*) ;; + SCO_SV-3.2*) ;; + windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_sqlite3.8.0_tclconfig_tcl.m4 b/lang/tcl/patches/patch-pkgs_sqlite3.8.0_tclconfig_tcl.m4 new file mode 100644 index 00000000000..f5507bbd41d --- /dev/null +++ b/lang/tcl/patches/patch-pkgs_sqlite3.8.0_tclconfig_tcl.m4 @@ -0,0 +1,47 @@ +$NetBSD: patch-pkgs_sqlite3.8.0_tclconfig_tcl.m4,v 1.1 2014/02/05 12:50:51 obache Exp $ + +--- pkgs/sqlite3.8.0/tclconfig/tcl.m4.orig 2013-09-19 20:17:11.000000000 +0000 ++++ pkgs/sqlite3.8.0/tclconfig/tcl.m4 +@@ -1627,26 +1627,26 @@ dnl AC_CHECK_TOOL(AR, ar) + ;; + esac + ;; +- FreeBSD-*) ++ FreeBSD-*|DragonFly-*) + # This configuration from FreeBSD Ports. + SHLIB_CFLAGS="-fPIC" + SHLIB_LD="${CC} -shared" +- TCL_SHLIB_LD_EXTRAS="-soname \$[@]" ++ TCL_SHLIB_LD_EXTRAS="-Wl,-soname \$[@]" + SHLIB_SUFFIX=".so" + LDFLAGS="" + AS_IF([test $doRpath = yes], [ + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' +- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}']) ++ LD_SEARCH_FLAGS='-Wl,-rpath ${LIB_RUNTIME_DIR}']) + AS_IF([test "${TCL_THREADS}" = "1"], [ + # The -pthread needs to go in the LDFLAGS, not LIBS + LIBS=`echo $LIBS | sed s/-pthread//` + CFLAGS="$CFLAGS $PTHREAD_CFLAGS" + LDFLAGS="$LDFLAGS $PTHREAD_LIBS"]) + # Version numbers are dot-stripped by system policy. +- TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` +- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' +- TCL_LIB_VERSIONS_OK=nodots ++# TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` ++# UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' ++# SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' ++# TCL_LIB_VERSIONS_OK=nodots + ;; + Darwin-*) + CFLAGS_OPTIMIZE="-Os" +@@ -1967,7 +1967,7 @@ dnl # preprocessing tests use only CPPFL + BSD/OS*) ;; + CYGWIN_*) ;; + IRIX*) ;; +- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; ++ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; + Darwin-*) ;; + SCO_SV-3.2*) ;; + windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_tdbc1.0.0_configure b/lang/tcl/patches/patch-pkgs_tdbc1.0.0_configure index 762a2027338..e1886d42a65 100644 --- a/lang/tcl/patches/patch-pkgs_tdbc1.0.0_configure +++ b/lang/tcl/patches/patch-pkgs_tdbc1.0.0_configure @@ -1,4 +1,4 @@ -$NetBSD: patch-pkgs_tdbc1.0.0_configure,v 1.1 2014/01/26 03:51:12 ryoon Exp $ +$NetBSD: patch-pkgs_tdbc1.0.0_configure,v 1.2 2014/02/05 12:50:51 obache Exp $ --- pkgs/tdbc1.0.0/configure.orig 2012-11-23 21:46:02.000000000 +0000 +++ pkgs/tdbc1.0.0/configure @@ -20,3 +20,48 @@ $NetBSD: patch-pkgs_tdbc1.0.0_configure,v 1.1 2014/01/26 03:51:12 ryoon Exp $ ;; NetBSD-*|FreeBSD-[3-4].*) # FreeBSD 3.* and greater have ELF. +@@ -9497,17 +9493,17 @@ fi + ;; + esac + ;; +- FreeBSD-*) ++ FreeBSD-*|DragonFly-*) + # This configuration from FreeBSD Ports. + SHLIB_CFLAGS="-fPIC" + SHLIB_LD="${CC} -shared" +- TCL_SHLIB_LD_EXTRAS="-soname \$@" ++ TCL_SHLIB_LD_EXTRAS="-Wl,-soname \$@" + SHLIB_SUFFIX=".so" + LDFLAGS="" + if test $doRpath = yes; then + + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' +- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' ++ LD_SEARCH_FLAGS='-Wl,-rpath ${LIB_RUNTIME_DIR}' + fi + + if test "${TCL_THREADS}" = "1"; then +@@ -9519,10 +9515,10 @@ fi + fi + + # Version numbers are dot-stripped by system policy. +- TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` +- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' +- TCL_LIB_VERSIONS_OK=nodots ++# TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` ++# UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' ++# SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' ++# TCL_LIB_VERSIONS_OK=nodots + ;; + Darwin-*) + CFLAGS_OPTIMIZE="-Os" +@@ -10297,7 +10293,7 @@ fi + BSD/OS*) ;; + CYGWIN_*) ;; + IRIX*) ;; +- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; ++ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; + Darwin-*) ;; + SCO_SV-3.2*) ;; + windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_tdbc1.0.0_tclconfig_tcl.m4 b/lang/tcl/patches/patch-pkgs_tdbc1.0.0_tclconfig_tcl.m4 new file mode 100644 index 00000000000..b6b9a1768c6 --- /dev/null +++ b/lang/tcl/patches/patch-pkgs_tdbc1.0.0_tclconfig_tcl.m4 @@ -0,0 +1,47 @@ +$NetBSD: patch-pkgs_tdbc1.0.0_tclconfig_tcl.m4,v 1.1 2014/02/05 12:50:51 obache Exp $ + +--- pkgs/tdbc1.0.0/tclconfig/tcl.m4.orig 2012-11-23 21:47:37.000000000 +0000 ++++ pkgs/tdbc1.0.0/tclconfig/tcl.m4 +@@ -1659,26 +1659,26 @@ AC_DEFUN([TEA_CONFIG_CFLAGS], [ + ;; + esac + ;; +- FreeBSD-*) ++ FreeBSD-*|DragonFly-*) + # This configuration from FreeBSD Ports. + SHLIB_CFLAGS="-fPIC" + SHLIB_LD="${CC} -shared" +- TCL_SHLIB_LD_EXTRAS="-soname \$[@]" ++ TCL_SHLIB_LD_EXTRAS="-Wl,-soname \$[@]" + SHLIB_SUFFIX=".so" + LDFLAGS="" + AS_IF([test $doRpath = yes], [ + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' +- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}']) ++ LD_SEARCH_FLAGS='-Wl,-rpath ${LIB_RUNTIME_DIR}']) + AS_IF([test "${TCL_THREADS}" = "1"], [ + # The -pthread needs to go in the LDFLAGS, not LIBS + LIBS=`echo $LIBS | sed s/-pthread//` + CFLAGS="$CFLAGS $PTHREAD_CFLAGS" + LDFLAGS="$LDFLAGS $PTHREAD_LIBS"]) + # Version numbers are dot-stripped by system policy. +- TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` +- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' +- TCL_LIB_VERSIONS_OK=nodots ++# TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` ++# UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' ++# SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' ++# TCL_LIB_VERSIONS_OK=nodots + ;; + Darwin-*) + CFLAGS_OPTIMIZE="-Os" +@@ -1999,7 +1999,7 @@ dnl # preprocessing tests use only CPPFL + BSD/OS*) ;; + CYGWIN_*) ;; + IRIX*) ;; +- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; ++ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; + Darwin-*) ;; + SCO_SV-3.2*) ;; + windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_tdbcmysql1.0.0_configure b/lang/tcl/patches/patch-pkgs_tdbcmysql1.0.0_configure index 2f5f250b81e..4f0e8584245 100644 --- a/lang/tcl/patches/patch-pkgs_tdbcmysql1.0.0_configure +++ b/lang/tcl/patches/patch-pkgs_tdbcmysql1.0.0_configure @@ -1,4 +1,4 @@ -$NetBSD: patch-pkgs_tdbcmysql1.0.0_configure,v 1.1 2014/01/26 03:51:12 ryoon Exp $ +$NetBSD: patch-pkgs_tdbcmysql1.0.0_configure,v 1.2 2014/02/05 12:50:51 obache Exp $ --- pkgs/tdbcmysql1.0.0/configure.orig 2012-11-26 14:24:47.000000000 +0000 +++ pkgs/tdbcmysql1.0.0/configure @@ -10,3 +10,48 @@ $NetBSD: patch-pkgs_tdbcmysql1.0.0_configure,v 1.1 2014/01/26 03:51:12 ryoon Exp ;; esac case "$arch" in +@@ -7853,17 +7852,17 @@ fi + ;; + esac + ;; +- FreeBSD-*) ++ FreeBSD-*|DragonFly) + # This configuration from FreeBSD Ports. + SHLIB_CFLAGS="-fPIC" + SHLIB_LD="${CC} -shared" +- TCL_SHLIB_LD_EXTRAS="-soname \$@" ++ TCL_SHLIB_LD_EXTRAS="-Wl,-soname \$@" + SHLIB_SUFFIX=".so" + LDFLAGS="" + if test $doRpath = yes; then : + + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' +- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' ++ LD_SEARCH_FLAGS='-Wl,-rpath ${LIB_RUNTIME_DIR}' + fi + if test "${TCL_THREADS}" = "1"; then : + +@@ -7873,10 +7872,10 @@ fi + LDFLAGS="$LDFLAGS $PTHREAD_LIBS" + fi + # Version numbers are dot-stripped by system policy. +- TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` +- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' +- TCL_LIB_VERSIONS_OK=nodots ++# TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` ++# UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' ++# SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' ++# TCL_LIB_VERSIONS_OK=nodots + ;; + Darwin-*) + CFLAGS_OPTIMIZE="-Os" +@@ -8440,7 +8439,7 @@ fi + BSD/OS*) ;; + CYGWIN_*) ;; + IRIX*) ;; +- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; ++ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; + Darwin-*) ;; + SCO_SV-3.2*) ;; + windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_tdbcmysql1.0.0_tclconfig_tcl.m4 b/lang/tcl/patches/patch-pkgs_tdbcmysql1.0.0_tclconfig_tcl.m4 new file mode 100644 index 00000000000..75da709f781 --- /dev/null +++ b/lang/tcl/patches/patch-pkgs_tdbcmysql1.0.0_tclconfig_tcl.m4 @@ -0,0 +1,47 @@ +$NetBSD: patch-pkgs_tdbcmysql1.0.0_tclconfig_tcl.m4,v 1.1 2014/02/05 12:50:51 obache Exp $ + +--- pkgs/tdbcmysql1.0.0/tclconfig/tcl.m4.orig 2013-09-19 20:17:12.000000000 +0000 ++++ pkgs/tdbcmysql1.0.0/tclconfig/tcl.m4 +@@ -1659,26 +1659,26 @@ AC_DEFUN([TEA_CONFIG_CFLAGS], [ + ;; + esac + ;; +- FreeBSD-*) ++ FreeBSD-*|DragonFly-*) + # This configuration from FreeBSD Ports. + SHLIB_CFLAGS="-fPIC" + SHLIB_LD="${CC} -shared" +- TCL_SHLIB_LD_EXTRAS="-soname \$[@]" ++ TCL_SHLIB_LD_EXTRAS="-Wl,-soname \$[@]" + SHLIB_SUFFIX=".so" + LDFLAGS="" + AS_IF([test $doRpath = yes], [ + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' +- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}']) ++ LD_SEARCH_FLAGS='-Wl,-rpath ${LIB_RUNTIME_DIR}']) + AS_IF([test "${TCL_THREADS}" = "1"], [ + # The -pthread needs to go in the LDFLAGS, not LIBS + LIBS=`echo $LIBS | sed s/-pthread//` + CFLAGS="$CFLAGS $PTHREAD_CFLAGS" + LDFLAGS="$LDFLAGS $PTHREAD_LIBS"]) + # Version numbers are dot-stripped by system policy. +- TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` +- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' +- TCL_LIB_VERSIONS_OK=nodots ++# TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` ++# UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' ++# SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' ++# TCL_LIB_VERSIONS_OK=nodots + ;; + Darwin-*) + CFLAGS_OPTIMIZE="-Os" +@@ -1999,7 +1999,7 @@ dnl # preprocessing tests use only CPPFL + BSD/OS*) ;; + CYGWIN_*) ;; + IRIX*) ;; +- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; ++ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; + Darwin-*) ;; + SCO_SV-3.2*) ;; + windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_tdbcodbc1.0.0_configure b/lang/tcl/patches/patch-pkgs_tdbcodbc1.0.0_configure index e06ba4e216e..bb237274a03 100644 --- a/lang/tcl/patches/patch-pkgs_tdbcodbc1.0.0_configure +++ b/lang/tcl/patches/patch-pkgs_tdbcodbc1.0.0_configure @@ -1,4 +1,4 @@ -$NetBSD: patch-pkgs_tdbcodbc1.0.0_configure,v 1.1 2014/01/26 03:51:12 ryoon Exp $ +$NetBSD: patch-pkgs_tdbcodbc1.0.0_configure,v 1.2 2014/02/05 12:50:51 obache Exp $ --- pkgs/tdbcodbc1.0.0/configure.orig 2012-12-12 21:22:22.000000000 +0000 +++ pkgs/tdbcodbc1.0.0/configure @@ -10,3 +10,48 @@ $NetBSD: patch-pkgs_tdbcodbc1.0.0_configure,v 1.1 2014/01/26 03:51:12 ryoon Exp ;; esac case "$arch" in +@@ -7847,17 +7846,17 @@ fi + ;; + esac + ;; +- FreeBSD-*) ++ FreeBSD-*|DragonFly-*) + # This configuration from FreeBSD Ports. + SHLIB_CFLAGS="-fPIC" + SHLIB_LD="${CC} -shared" +- TCL_SHLIB_LD_EXTRAS="-soname \$@" ++ TCL_SHLIB_LD_EXTRAS="-Wl,-soname \$@" + SHLIB_SUFFIX=".so" + LDFLAGS="" + if test $doRpath = yes; then : + + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' +- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' ++ LD_SEARCH_FLAGS='-Wl,-rpath ${LIB_RUNTIME_DIR}' + fi + if test "${TCL_THREADS}" = "1"; then : + +@@ -7867,10 +7866,10 @@ fi + LDFLAGS="$LDFLAGS $PTHREAD_LIBS" + fi + # Version numbers are dot-stripped by system policy. +- TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` +- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' +- TCL_LIB_VERSIONS_OK=nodots ++# TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` ++# UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' ++# SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' ++# TCL_LIB_VERSIONS_OK=nodots + ;; + Darwin-*) + CFLAGS_OPTIMIZE="-Os" +@@ -8434,7 +8433,7 @@ fi + BSD/OS*) ;; + CYGWIN_*) ;; + IRIX*) ;; +- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; ++ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; + Darwin-*) ;; + SCO_SV-3.2*) ;; + windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_tdbcodbc1.0.0_tclconfig_tcl.m4 b/lang/tcl/patches/patch-pkgs_tdbcodbc1.0.0_tclconfig_tcl.m4 new file mode 100644 index 00000000000..37f48dc4c7b --- /dev/null +++ b/lang/tcl/patches/patch-pkgs_tdbcodbc1.0.0_tclconfig_tcl.m4 @@ -0,0 +1,47 @@ +$NetBSD: patch-pkgs_tdbcodbc1.0.0_tclconfig_tcl.m4,v 1.1 2014/02/05 12:50:51 obache Exp $ + +--- pkgs/tdbcodbc1.0.0/tclconfig/tcl.m4.orig 2013-09-19 20:17:12.000000000 +0000 ++++ pkgs/tdbcodbc1.0.0/tclconfig/tcl.m4 +@@ -1659,26 +1659,26 @@ AC_DEFUN([TEA_CONFIG_CFLAGS], [ + ;; + esac + ;; +- FreeBSD-*) ++ FreeBSD-*|DragonFly-*) + # This configuration from FreeBSD Ports. + SHLIB_CFLAGS="-fPIC" + SHLIB_LD="${CC} -shared" +- TCL_SHLIB_LD_EXTRAS="-soname \$[@]" ++ TCL_SHLIB_LD_EXTRAS="-Wl,-soname \$[@]" + SHLIB_SUFFIX=".so" + LDFLAGS="" + AS_IF([test $doRpath = yes], [ + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' +- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}']) ++ LD_SEARCH_FLAGS='-Wl,-rpath ${LIB_RUNTIME_DIR}']) + AS_IF([test "${TCL_THREADS}" = "1"], [ + # The -pthread needs to go in the LDFLAGS, not LIBS + LIBS=`echo $LIBS | sed s/-pthread//` + CFLAGS="$CFLAGS $PTHREAD_CFLAGS" + LDFLAGS="$LDFLAGS $PTHREAD_LIBS"]) + # Version numbers are dot-stripped by system policy. +- TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` +- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' +- TCL_LIB_VERSIONS_OK=nodots ++# TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` ++# UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' ++# SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' ++# TCL_LIB_VERSIONS_OK=nodots + ;; + Darwin-*) + CFLAGS_OPTIMIZE="-Os" +@@ -1999,7 +1999,7 @@ dnl # preprocessing tests use only CPPFL + BSD/OS*) ;; + CYGWIN_*) ;; + IRIX*) ;; +- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; ++ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; + Darwin-*) ;; + SCO_SV-3.2*) ;; + windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_tdbcpostgres1.0.0_configure b/lang/tcl/patches/patch-pkgs_tdbcpostgres1.0.0_configure index 67d63f863d6..d88a16b3b0e 100644 --- a/lang/tcl/patches/patch-pkgs_tdbcpostgres1.0.0_configure +++ b/lang/tcl/patches/patch-pkgs_tdbcpostgres1.0.0_configure @@ -1,4 +1,4 @@ -$NetBSD: patch-pkgs_tdbcpostgres1.0.0_configure,v 1.1 2014/01/26 03:51:12 ryoon Exp $ +$NetBSD: patch-pkgs_tdbcpostgres1.0.0_configure,v 1.2 2014/02/05 12:50:51 obache Exp $ --- pkgs/tdbcpostgres1.0.0/configure.orig 2012-12-12 21:22:46.000000000 +0000 +++ pkgs/tdbcpostgres1.0.0/configure @@ -10,3 +10,48 @@ $NetBSD: patch-pkgs_tdbcpostgres1.0.0_configure,v 1.1 2014/01/26 03:51:12 ryoon ;; esac case "$arch" in +@@ -7847,17 +7846,17 @@ fi + ;; + esac + ;; +- FreeBSD-*) ++ FreeBSD-*|DragonFly-*) + # This configuration from FreeBSD Ports. + SHLIB_CFLAGS="-fPIC" + SHLIB_LD="${CC} -shared" +- TCL_SHLIB_LD_EXTRAS="-soname \$@" ++ TCL_SHLIB_LD_EXTRAS="-Wl,-soname \$@" + SHLIB_SUFFIX=".so" + LDFLAGS="" + if test $doRpath = yes; then : + + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' +- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' ++ LD_SEARCH_FLAGS='-Wl,-rpath ${LIB_RUNTIME_DIR}' + fi + if test "${TCL_THREADS}" = "1"; then : + +@@ -7867,10 +7866,10 @@ fi + LDFLAGS="$LDFLAGS $PTHREAD_LIBS" + fi + # Version numbers are dot-stripped by system policy. +- TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` +- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' +- TCL_LIB_VERSIONS_OK=nodots ++# TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` ++# UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' ++# SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' ++# TCL_LIB_VERSIONS_OK=nodots + ;; + Darwin-*) + CFLAGS_OPTIMIZE="-Os" +@@ -8434,7 +8433,7 @@ fi + BSD/OS*) ;; + CYGWIN_*) ;; + IRIX*) ;; +- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; ++ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; + Darwin-*) ;; + SCO_SV-3.2*) ;; + windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_tdbcpostgres1.0.0_tclconfig_tcl.m4 b/lang/tcl/patches/patch-pkgs_tdbcpostgres1.0.0_tclconfig_tcl.m4 new file mode 100644 index 00000000000..9d1725d445f --- /dev/null +++ b/lang/tcl/patches/patch-pkgs_tdbcpostgres1.0.0_tclconfig_tcl.m4 @@ -0,0 +1,47 @@ +$NetBSD: patch-pkgs_tdbcpostgres1.0.0_tclconfig_tcl.m4,v 1.1 2014/02/05 12:50:51 obache Exp $ + +--- pkgs/tdbcpostgres1.0.0/tclconfig/tcl.m4.orig 2013-09-19 20:17:13.000000000 +0000 ++++ pkgs/tdbcpostgres1.0.0/tclconfig/tcl.m4 +@@ -1659,26 +1659,26 @@ AC_DEFUN([TEA_CONFIG_CFLAGS], [ + ;; + esac + ;; +- FreeBSD-*) ++ FreeBSD-*|DragonFly-*) + # This configuration from FreeBSD Ports. + SHLIB_CFLAGS="-fPIC" + SHLIB_LD="${CC} -shared" +- TCL_SHLIB_LD_EXTRAS="-soname \$[@]" ++ TCL_SHLIB_LD_EXTRAS="-Wl,-soname \$[@]" + SHLIB_SUFFIX=".so" + LDFLAGS="" + AS_IF([test $doRpath = yes], [ + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' +- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}']) ++ LD_SEARCH_FLAGS='-Wl,-rpath ${LIB_RUNTIME_DIR}']) + AS_IF([test "${TCL_THREADS}" = "1"], [ + # The -pthread needs to go in the LDFLAGS, not LIBS + LIBS=`echo $LIBS | sed s/-pthread//` + CFLAGS="$CFLAGS $PTHREAD_CFLAGS" + LDFLAGS="$LDFLAGS $PTHREAD_LIBS"]) + # Version numbers are dot-stripped by system policy. +- TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` +- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' +- TCL_LIB_VERSIONS_OK=nodots ++# TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` ++# UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' ++# SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' ++# TCL_LIB_VERSIONS_OK=nodots + ;; + Darwin-*) + CFLAGS_OPTIMIZE="-Os" +@@ -1999,7 +1999,7 @@ dnl # preprocessing tests use only CPPFL + BSD/OS*) ;; + CYGWIN_*) ;; + IRIX*) ;; +- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; ++ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; + Darwin-*) ;; + SCO_SV-3.2*) ;; + windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_tdbcsqlite3-1.0.0_tclconfig_tcl.m4 b/lang/tcl/patches/patch-pkgs_tdbcsqlite3-1.0.0_tclconfig_tcl.m4 new file mode 100644 index 00000000000..a96a36bb2fb --- /dev/null +++ b/lang/tcl/patches/patch-pkgs_tdbcsqlite3-1.0.0_tclconfig_tcl.m4 @@ -0,0 +1,47 @@ +$NetBSD: patch-pkgs_tdbcsqlite3-1.0.0_tclconfig_tcl.m4,v 1.1 2014/02/05 12:50:51 obache Exp $ + +--- pkgs/tdbcsqlite3-1.0.0/tclconfig/tcl.m4.orig 2013-09-19 20:17:13.000000000 +0000 ++++ pkgs/tdbcsqlite3-1.0.0/tclconfig/tcl.m4 +@@ -1659,26 +1659,26 @@ AC_DEFUN([TEA_CONFIG_CFLAGS], [ + ;; + esac + ;; +- FreeBSD-*) ++ FreeBSD-*|DragonFly-*) + # This configuration from FreeBSD Ports. + SHLIB_CFLAGS="-fPIC" + SHLIB_LD="${CC} -shared" +- TCL_SHLIB_LD_EXTRAS="-soname \$[@]" ++ TCL_SHLIB_LD_EXTRAS="-Wl,-soname \$[@]" + SHLIB_SUFFIX=".so" + LDFLAGS="" + AS_IF([test $doRpath = yes], [ + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' +- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}']) ++ LD_SEARCH_FLAGS='-Wl,-rpath ${LIB_RUNTIME_DIR}']) + AS_IF([test "${TCL_THREADS}" = "1"], [ + # The -pthread needs to go in the LDFLAGS, not LIBS + LIBS=`echo $LIBS | sed s/-pthread//` + CFLAGS="$CFLAGS $PTHREAD_CFLAGS" + LDFLAGS="$LDFLAGS $PTHREAD_LIBS"]) + # Version numbers are dot-stripped by system policy. +- TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` +- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' +- TCL_LIB_VERSIONS_OK=nodots ++# TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` ++# UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' ++# SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' ++# TCL_LIB_VERSIONS_OK=nodots + ;; + Darwin-*) + CFLAGS_OPTIMIZE="-Os" +@@ -1999,7 +1999,7 @@ dnl # preprocessing tests use only CPPFL + BSD/OS*) ;; + CYGWIN_*) ;; + IRIX*) ;; +- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; ++ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; + Darwin-*) ;; + SCO_SV-3.2*) ;; + windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_thread2.7.0_configure b/lang/tcl/patches/patch-pkgs_thread2.7.0_configure index 935576a32b9..530d03bad2f 100644 --- a/lang/tcl/patches/patch-pkgs_thread2.7.0_configure +++ b/lang/tcl/patches/patch-pkgs_thread2.7.0_configure @@ -1,4 +1,4 @@ -$NetBSD: patch-pkgs_thread2.7.0_configure,v 1.1 2014/01/26 03:51:12 ryoon Exp $ +$NetBSD: patch-pkgs_thread2.7.0_configure,v 1.2 2014/02/05 12:50:51 obache Exp $ --- pkgs/thread2.7.0/configure.orig 2012-11-14 17:20:24.000000000 +0000 +++ pkgs/thread2.7.0/configure @@ -10,3 +10,48 @@ $NetBSD: patch-pkgs_thread2.7.0_configure,v 1.1 2014/01/26 03:51:12 ryoon Exp $ ;; esac case "$arch" in +@@ -9387,17 +9386,17 @@ fi + ;; + esac + ;; +- FreeBSD-*) ++ FreeBSD-*|DragonFly-*) + # This configuration from FreeBSD Ports. + SHLIB_CFLAGS="-fPIC" + SHLIB_LD="${CC} -shared" +- TCL_SHLIB_LD_EXTRAS="-soname \$@" ++ TCL_SHLIB_LD_EXTRAS="-Wl,-soname \$@" + SHLIB_SUFFIX=".so" + LDFLAGS="" + if test $doRpath = yes; then + + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' +- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' ++ LD_SEARCH_FLAGS='-Wl,-rpath ${LIB_RUNTIME_DIR}' + fi + + if test "${TCL_THREADS}" = "1"; then +@@ -9409,10 +9408,10 @@ fi + fi + + # Version numbers are dot-stripped by system policy. +- TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` +- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' +- TCL_LIB_VERSIONS_OK=nodots ++# TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` ++# UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' ++# SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' ++# TCL_LIB_VERSIONS_OK=nodots + ;; + Darwin-*) + CFLAGS_OPTIMIZE="-Os" +@@ -10187,7 +10186,7 @@ fi + BSD/OS*) ;; + CYGWIN_*) ;; + IRIX*) ;; +- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; ++ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; + Darwin-*) ;; + SCO_SV-3.2*) ;; + windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_thread2.7.0_tclconfig_tcl.m4 b/lang/tcl/patches/patch-pkgs_thread2.7.0_tclconfig_tcl.m4 new file mode 100644 index 00000000000..02f879edb0e --- /dev/null +++ b/lang/tcl/patches/patch-pkgs_thread2.7.0_tclconfig_tcl.m4 @@ -0,0 +1,47 @@ +$NetBSD: patch-pkgs_thread2.7.0_tclconfig_tcl.m4,v 1.1 2014/02/05 12:50:51 obache Exp $ + +--- pkgs/thread2.7.0/tclconfig/tcl.m4.orig 2013-09-19 20:17:13.000000000 +0000 ++++ pkgs/thread2.7.0/tclconfig/tcl.m4 +@@ -1659,26 +1659,26 @@ AC_DEFUN([TEA_CONFIG_CFLAGS], [ + ;; + esac + ;; +- FreeBSD-*) ++ FreeBSD-*|DragonFly-*) + # This configuration from FreeBSD Ports. + SHLIB_CFLAGS="-fPIC" + SHLIB_LD="${CC} -shared" +- TCL_SHLIB_LD_EXTRAS="-soname \$[@]" ++ TCL_SHLIB_LD_EXTRAS="-Wl,-soname \$[@]" + SHLIB_SUFFIX=".so" + LDFLAGS="" + AS_IF([test $doRpath = yes], [ + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' +- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}']) ++ LD_SEARCH_FLAGS='-Wl,-rpath ${LIB_RUNTIME_DIR}']) + AS_IF([test "${TCL_THREADS}" = "1"], [ + # The -pthread needs to go in the LDFLAGS, not LIBS + LIBS=`echo $LIBS | sed s/-pthread//` + CFLAGS="$CFLAGS $PTHREAD_CFLAGS" + LDFLAGS="$LDFLAGS $PTHREAD_LIBS"]) + # Version numbers are dot-stripped by system policy. +- TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` +- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' +- TCL_LIB_VERSIONS_OK=nodots ++# TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` ++# UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' ++# SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' ++# TCL_LIB_VERSIONS_OK=nodots + ;; + Darwin-*) + CFLAGS_OPTIMIZE="-Os" +@@ -1999,7 +1999,7 @@ dnl # preprocessing tests use only CPPFL + BSD/OS*) ;; + CYGWIN_*) ;; + IRIX*) ;; +- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; ++ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; + Darwin-*) ;; + SCO_SV-3.2*) ;; + windows) ;; diff --git a/lang/tcl/patches/patch-unix_tcl.m4 b/lang/tcl/patches/patch-unix_tcl.m4 new file mode 100644 index 00000000000..2bc9d330eff --- /dev/null +++ b/lang/tcl/patches/patch-unix_tcl.m4 @@ -0,0 +1,13 @@ +$NetBSD: patch-unix_tcl.m4,v 1.1 2014/02/05 12:50:51 obache Exp $ + +--- unix/tcl.m4.orig 2013-09-19 20:17:13.000000000 +0000 ++++ unix/tcl.m4 +@@ -1538,7 +1538,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [ + LDFLAGS="$LDFLAGS -pthread" + ]) + ;; +- FreeBSD-*) ++ FreeBSD-*|DragonFly-*) + # This configuration from FreeBSD Ports. + SHLIB_CFLAGS="-fPIC" + SHLIB_LD="${CC} -shared" |