diff options
Diffstat (limited to 'lang/tcl/patches/patch-pkgs_tdbcodbc1.0.1_configure')
-rw-r--r-- | lang/tcl/patches/patch-pkgs_tdbcodbc1.0.1_configure | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/lang/tcl/patches/patch-pkgs_tdbcodbc1.0.1_configure b/lang/tcl/patches/patch-pkgs_tdbcodbc1.0.1_configure new file mode 100644 index 00000000000..07f5f955b3a --- /dev/null +++ b/lang/tcl/patches/patch-pkgs_tdbcodbc1.0.1_configure @@ -0,0 +1,52 @@ +$NetBSD: patch-pkgs_tdbcodbc1.0.1_configure,v 1.1 2014/10/31 21:11:18 adam Exp $ + +Add support for DragonFly. + +--- pkgs/tdbcodbc1.0.1/configure.orig 2014-08-14 17:52:58.000000000 +0000 ++++ pkgs/tdbcodbc1.0.1/configure +@@ -7770,7 +7770,6 @@ fi + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' + fi + LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}' + LDFLAGS="-Wl,-export-dynamic" + ;; + esac +@@ -7791,8 +7790,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 +@@ -7814,7 +7811,7 @@ fi + + fi + ;; +- FreeBSD-*) ++ FreeBSD-*|DragonFly-*) + # This configuration from FreeBSD Ports. + SHLIB_CFLAGS="-fPIC" + SHLIB_LD="${CC} -shared" +@@ -7837,10 +7834,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 + ;; +@@ -8451,7 +8444,7 @@ fi + BSD/OS*) ;; + CYGWIN_*|MINGW32_*) ;; + IRIX*) ;; +- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; ++ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; + Darwin-*) ;; + SCO_SV-3.2*) ;; + windows) ;; |