diff options
Diffstat (limited to 'lang/tcl/patches/patch-pkgs_itcl4.0.2_configure')
-rw-r--r-- | lang/tcl/patches/patch-pkgs_itcl4.0.2_configure | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/lang/tcl/patches/patch-pkgs_itcl4.0.2_configure b/lang/tcl/patches/patch-pkgs_itcl4.0.2_configure new file mode 100644 index 00000000000..ff6ac726f15 --- /dev/null +++ b/lang/tcl/patches/patch-pkgs_itcl4.0.2_configure @@ -0,0 +1,52 @@ +$NetBSD: patch-pkgs_itcl4.0.2_configure,v 1.1 2014/11/22 15:57:17 adam Exp $ + +Add support for DragonFly. + +--- pkgs/itcl4.0.2/configure.orig 2014-10-20 19:25:24.000000000 +0000 ++++ pkgs/itcl4.0.2/configure +@@ -9224,7 +9224,6 @@ fi + fi + + LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so${SHLIB_VERSION}' + LDFLAGS="-Wl,-export-dynamic" + ;; + esac +@@ -9246,8 +9245,6 @@ fi + fi + + # OpenBSD doesn't do version numbers with dots. +- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' +- TCL_LIB_VERSIONS_OK=nodots + ;; + NetBSD-*) + # NetBSD has ELF and can use 'cc -shared' to build shared libs +@@ -9271,7 +9268,7 @@ fi + fi + + ;; +- FreeBSD-*) ++ FreeBSD-*|DragonFly-*) + # This configuration from FreeBSD Ports. + SHLIB_CFLAGS="-fPIC" + SHLIB_LD="${CC} -shared" +@@ -9295,10 +9292,6 @@ fi + case $system in + FreeBSD-3.*) + # Version numbers are dot-stripped by system policy. +- TCL_TRIM_DOTS=`echo ${PACKAGE_VERSION} | tr -d .` +- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' +- TCL_LIB_VERSIONS_OK=nodots + ;; + esac + ;; +@@ -10149,7 +10142,7 @@ fi + BSD/OS*) ;; + CYGWIN_*|MINGW32_*) ;; + IRIX*) ;; +- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; ++ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; + Darwin-*) ;; + SCO_SV-3.2*) ;; + windows) ;; |