14e059e1ea
8.6.8: [array names -regexp] supports backrefs Fix gcc build failures due to #pragma placement (bug)[b50fb2] exec redir append stdout and stderr to file (bug)[2a9465] http state 100 continue handling broken (bug)[0e4d88] replace command, delete trace kills namespace (bug)[1a5655] [info * methods] includes mixins tzdata updated to Olson's tzdata2017c (bug)[fc1409] segfault in method cloning, oo-15.15 (bug)[6f2f83] More robust [load] for ReactOS (bug)[3298012] Stop crash when hash tables overflow 32 bits (bug)[5d6de6] Close failing case of [package prefer stable] (bug)[fab924] Fix misleading [load] message on Windows (bug)[4f6a1e] Crash when ensemble map and list are same (bug)[ce3a21] file normalize failure when tail is empty (new)[TIP 477] nmake build system reform (bug)[586e71] EvalObjv exception handling at level 0
62 lines
1.8 KiB
Text
62 lines
1.8 KiB
Text
$NetBSD: patch-pkgs_itcl4.1.1_configure,v 1.1 2018/02/03 17:51:19 adam Exp $
|
|
|
|
Add support for DragonFly.
|
|
|
|
Honor LDFLAGS on NetBSD.
|
|
https://core.tcl.tk/tcl/tktview/fed5069f8a8e59e97af0a784b534919f5b789b1e
|
|
|
|
--- pkgs/itcl4.1.1/configure.orig 2017-12-15 18:00:37.000000000 +0000
|
|
+++ pkgs/itcl4.1.1/configure
|
|
@@ -7428,7 +7428,7 @@ fi
|
|
fi
|
|
LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
|
|
SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so${SHLIB_VERSION}'
|
|
- LDFLAGS="-Wl,-export-dynamic"
|
|
+ LDFLAGS="-Wl,--export-dynamic"
|
|
CFLAGS_OPTIMIZE="-O2"
|
|
if test "${TCL_THREADS}" = "1"; then :
|
|
|
|
@@ -7439,13 +7439,11 @@ 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
|
|
SHLIB_CFLAGS="-fPIC"
|
|
- SHLIB_LD='${CC} ${SHLIB_CFLAGS} -shared'
|
|
+ SHLIB_LD='${CC} ${SHLIB_CFLAGS} -shared ${LDFLAGS_DEFAULT}'
|
|
SHLIB_SUFFIX=".so"
|
|
LDFLAGS="$LDFLAGS -export-dynamic"
|
|
if test $doRpath = yes; then :
|
|
@@ -7462,7 +7460,7 @@ fi
|
|
|
|
fi
|
|
;;
|
|
- FreeBSD-*)
|
|
+ FreeBSD-*|DragonFly-*)
|
|
# This configuration from FreeBSD Ports.
|
|
SHLIB_CFLAGS="-fPIC"
|
|
SHLIB_LD="${CC} -shared"
|
|
@@ -7484,10 +7482,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
|
|
;;
|
|
@@ -8098,7 +8092,7 @@ fi
|
|
BSD/OS*) ;;
|
|
CYGWIN_*|MINGW32_*) ;;
|
|
IRIX*) ;;
|
|
- NetBSD-*|FreeBSD-*|OpenBSD-*) ;;
|
|
+ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;;
|
|
Darwin-*) ;;
|
|
SCO_SV-3.2*) ;;
|
|
windows) ;;
|