pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/tcl
Module Name: pkgsrc
Committed By: adam
Date: Sat Jan 25 21:29:26 UTC 2025
Modified Files:
pkgsrc/lang/tcl: Makefile Makefile.version PLIST buildlink3.mk distinfo
pkgsrc/lang/tcl/patches: patch-unix_configure patch-unix_tclUnixInit.c
Added Files:
pkgsrc/lang/tcl/patches: patch-pkgs_itcl4.3.2_configure
patch-pkgs_sqlite3.47.2_Makefile.in
patch-pkgs_sqlite3.47.2_configure
patch-pkgs_sqlite3.47.2_generic_tclsqlite3.c
patch-pkgs_tdbc1.1.10_configure
patch-pkgs_tdbcmysql1.1.10_configure
patch-pkgs_tdbcodbc1.1.10_configure
patch-pkgs_tdbcpostgres1.1.10_configure
patch-pkgs_thread2.8.11_configure
Removed Files:
pkgsrc/lang/tcl/patches: patch-pkgs_itcl4.2.4_configure
patch-pkgs_sqlite3.44.2_Makefile.in
patch-pkgs_sqlite3.44.2_configure
patch-pkgs_sqlite3.44.2_generic_tclsqlite3.c
patch-pkgs_tdbc1.1.7_configure patch-pkgs_tdbcmysql1.1.7_configure
patch-pkgs_tdbcodbc1.1.7_configure
patch-pkgs_tdbcpostgres1.1.7_configure
patch-pkgs_thread2.8.9_configure
Log Message:
tcl: updated to 8.6.16
8.6.16
* unneeded path normalization (sebres)
* zlib stream returns negative checksums (nadkarni)
* zlib-8.8, zlib-8.16 fail on Fedora 40 (nijtmans)
* win/makefile: wrong recipe to buid libtcl.a and
missing dependencies (sebres)
* regression in tzdata, %z instead of offset
TZ-name (sebres)
* Tcl will not start properly if there is an init.tcl
file in the current dir (sebres)
* clock scan of leapsecond: wrong result (sebres)
* Segfault in TclOO with coroutines (goth,sebres)
8.6.15
* remove private unicode 0xE000-0xF8FF from unicode
control group (nijtmans)
* TCL_PACKAGE_PATH in tclConfig.sh change from TCL list to ":"
(UNIX) or ";" (Windows) separated items (nijtmans)
*** POTENTIAL INCOMPATIBILITY ***
* Time zones added: Alaska Standard/Daylight (nijtmans)
* fix compiled mapped ensembles (sebres)
* fix encoding koi8-u codepoint 0xB4
* speedup op unicode transformation related operations (sebres)
* Add encodings: koi8-ru, koi8-t
* Fix Tcl_ParseArgsObjv with TCL_ARGV_GENFUNC option (gavilan)
* Hash speedup for pointer compare. Option TCL_HASH_KEY_DIRECT_COMPARE
for hash tables (sebres)
* Deprecate Tcl_GetAlias()
* Correct tcl::tm::path autoload (nadkarni)
* Remove empty all items from tclConfig.sh path variables.
* Fix crash in oo+coroutine (fellows)
* fix crash in oo destructors in same namespace
* Fix crash in reflected channels
* Fix crash due to unchecked file descriptor size
* Fix report of non ASCII computer names on Windows (fasel)
* Fix error message caused by interp limit
* Source files with BOM also in safe interpreters
* Fix encoding system result for system locale ISO-8859-1
* Tcl_NewObjectInstance() errors on namespace re-use (fellows)
*** POTENTIAL INCOMPATIBILITY -- breaks Itcl 4.2 ***
* for linked varnames (fellows)
* Unicode version 16 (nijtmans)
* with wide int increment
* Fix Windows NTFS alternate data streams (ADS) accessability
To generate a diff of this commit:
cvs rdiff -u -r1.130 -r1.131 pkgsrc/lang/tcl/Makefile
cvs rdiff -u -r1.30 -r1.31 pkgsrc/lang/tcl/Makefile.version
cvs rdiff -u -r1.32 -r1.33 pkgsrc/lang/tcl/PLIST
cvs rdiff -u -r1.35 -r1.36 pkgsrc/lang/tcl/buildlink3.mk
cvs rdiff -u -r1.86 -r1.87 pkgsrc/lang/tcl/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/lang/tcl/patches/patch-pkgs_itcl4.2.4_configure \
pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.44.2_Makefile.in \
pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.44.2_configure \
pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.44.2_generic_tclsqlite3.c \
pkgsrc/lang/tcl/patches/patch-pkgs_tdbc1.1.7_configure \
pkgsrc/lang/tcl/patches/patch-pkgs_tdbcmysql1.1.7_configure \
pkgsrc/lang/tcl/patches/patch-pkgs_tdbcodbc1.1.7_configure \
pkgsrc/lang/tcl/patches/patch-pkgs_tdbcpostgres1.1.7_configure \
pkgsrc/lang/tcl/patches/patch-pkgs_thread2.8.9_configure
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/tcl/patches/patch-pkgs_itcl4.3.2_configure \
pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.47.2_Makefile.in \
pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.47.2_configure \
pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.47.2_generic_tclsqlite3.c \
pkgsrc/lang/tcl/patches/patch-pkgs_tdbc1.1.10_configure \
pkgsrc/lang/tcl/patches/patch-pkgs_tdbcmysql1.1.10_configure \
pkgsrc/lang/tcl/patches/patch-pkgs_tdbcodbc1.1.10_configure \
pkgsrc/lang/tcl/patches/patch-pkgs_tdbcpostgres1.1.10_configure \
pkgsrc/lang/tcl/patches/patch-pkgs_thread2.8.11_configure
cvs rdiff -u -r1.15 -r1.16 pkgsrc/lang/tcl/patches/patch-unix_configure
cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/tcl/patches/patch-unix_tclUnixInit.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/tcl/Makefile
diff -u pkgsrc/lang/tcl/Makefile:1.130 pkgsrc/lang/tcl/Makefile:1.131
--- pkgsrc/lang/tcl/Makefile:1.130 Fri Dec 27 11:08:30 2024
+++ pkgsrc/lang/tcl/Makefile Sat Jan 25 21:29:25 2025
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.130 2024/12/27 11:08:30 riastradh Exp $
+# $NetBSD: Makefile,v 1.131 2025/01/25 21:29:25 adam Exp $
DISTNAME= tcl${TCL_VERSION}-src
PKGNAME= tcl-${TCL_VERSION}
-PKGREVISION= 5
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tcl/}
@@ -13,7 +12,7 @@ LICENSE= 2-clause-bsd
.include "../../lang/tcl/Makefile.version"
-WRKSRC= ${WRKDIR}/tcl${TCL_VERSION}
+WRKSRC= ${WRKDIR}/tcl${TCL_VERSION}
USE_GCC_RUNTIME= yes
Index: pkgsrc/lang/tcl/Makefile.version
diff -u pkgsrc/lang/tcl/Makefile.version:1.30 pkgsrc/lang/tcl/Makefile.version:1.31
--- pkgsrc/lang/tcl/Makefile.version:1.30 Sat Apr 6 05:37:47 2024
+++ pkgsrc/lang/tcl/Makefile.version Sat Jan 25 21:29:25 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.version,v 1.30 2024/04/06 05:37:47 adam Exp $
+# $NetBSD: Makefile.version,v 1.31 2025/01/25 21:29:25 adam Exp $
# used by cad/xcircuit/Makefile
# used by devel/tcl-tclcl/Makefile
# used by lang/tcl/Makefile
@@ -7,10 +7,10 @@
TCL_SONUM= 86
TCL_BASEVER= 8.6
-TCL_VERSION= 8.6.14
+TCL_VERSION= 8.6.16
# Update bundled versions in lang/tcl/buildlink3.mk
-ITCL_VERSION= 4.2.4
-SQLITE3_VERSION= 3.44.2
-TDBC_VERSION= 1.1.7
-THREAD_VERSION= 2.8.9
+ITCL_VERSION= 4.3.2
+SQLITE3_VERSION= 3.47.2
+TDBC_VERSION= 1.1.10
+THREAD_VERSION= 2.8.11
Index: pkgsrc/lang/tcl/PLIST
diff -u pkgsrc/lang/tcl/PLIST:1.32 pkgsrc/lang/tcl/PLIST:1.33
--- pkgsrc/lang/tcl/PLIST:1.32 Sat Apr 6 05:37:47 2024
+++ pkgsrc/lang/tcl/PLIST Sat Jan 25 21:29:25 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.32 2024/04/06 05:37:47 adam Exp $
+@comment $NetBSD: PLIST,v 1.33 2025/01/25 21:29:25 adam Exp $
bin/sqlite3_analyzer
bin/tclsh
bin/tclsh${BASEVER}
@@ -132,6 +132,8 @@ lib/tcl${BASEVER}/encoding/jis0201.enc
lib/tcl${BASEVER}/encoding/jis0208.enc
lib/tcl${BASEVER}/encoding/jis0212.enc
lib/tcl${BASEVER}/encoding/koi8-r.enc
+lib/tcl${BASEVER}/encoding/koi8-ru.enc
+lib/tcl${BASEVER}/encoding/koi8-t.enc
lib/tcl${BASEVER}/encoding/koi8-u.enc
lib/tcl${BASEVER}/encoding/ksc5601.enc
lib/tcl${BASEVER}/encoding/macCentEuro.enc
@@ -289,12 +291,13 @@ lib/tcl${BASEVER}/tclAppInit.c
lib/tcl${BASEVER}/tclIndex
lib/tcl${BASEVER}/tm.tcl
lib/tcl${BASEVER}/word.tcl
+lib/tcl8/${BASEVER}/http-2.9.8.tm
lib/tcl8/${BASEVER}/tdbc/sqlite3-${TDBC_VERSION}.tm
+lib/tcl8/${BASEVER}/tdbc/sqlite3-${TDBC_VERSION}.uuid
lib/tcl8/8.4/platform-1.0.19.tm
lib/tcl8/8.4/platform/shell-1.1.4.tm
lib/tcl8/8.5/msgcat-1.6.1.tm
-lib/tcl8/8.5/tcltest-2.5.7.tm
-lib/tcl8/8.6/http-2.9.8.tm
+lib/tcl8/8.5/tcltest-2.5.9.tm
lib/tclConfig.sh
lib/tclooConfig.sh
lib/tdbc${TDBC_VERSION}/libtdbc${TDBC_VERSION}.so
@@ -1077,6 +1080,7 @@ man/mann/my.n
man/mann/namespace.n
man/mann/next.n
man/mann/nextto.n
+man/mann/oo_Slot.n
man/mann/oo_class.n
man/mann/oo_copy.n
man/mann/oo_define.n
Index: pkgsrc/lang/tcl/buildlink3.mk
diff -u pkgsrc/lang/tcl/buildlink3.mk:1.35 pkgsrc/lang/tcl/buildlink3.mk:1.36
--- pkgsrc/lang/tcl/buildlink3.mk:1.35 Sat Apr 6 05:37:47 2024
+++ pkgsrc/lang/tcl/buildlink3.mk Sat Jan 25 21:29:25 2025
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.35 2024/04/06 05:37:47 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.36 2025/01/25 21:29:25 adam Exp $
BUILDLINK_TREE+= tcl
@@ -22,8 +22,8 @@ _TOOLS_USE_PKGSRC.tclsh= yes
TCLCONFIG_SH?= ${BUILDLINK_PREFIX.tcl}/lib/tclConfig.sh
TCLSH= ${BUILDLINK_PREFIX.tcl}/bin/tclsh
# Bundled library
-ITCL_VERSION= 4.2.4
-TDBC_VERSION= 1.1.7
+ITCL_VERSION= 4.3.2
+TDBC_VERSION= 1.1.10
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
Index: pkgsrc/lang/tcl/distinfo
diff -u pkgsrc/lang/tcl/distinfo:1.86 pkgsrc/lang/tcl/distinfo:1.87
--- pkgsrc/lang/tcl/distinfo:1.86 Tue Apr 9 01:34:15 2024
+++ pkgsrc/lang/tcl/distinfo Sat Jan 25 21:29:25 2025
@@ -1,26 +1,26 @@
-$NetBSD: distinfo,v 1.86 2024/04/09 01:34:15 tnn Exp $
+$NetBSD: distinfo,v 1.87 2025/01/25 21:29:25 adam Exp $
-BLAKE2s (tcl8.6.14-src.tar.gz) = 2599a11ce3b2063fa6e6cc6af1d764576ac0e461ffe700bfba9d2b288e5543bd
-SHA512 (tcl8.6.14-src.tar.gz) = 706603faa94153fcea2e2b2c594fb9d9862ce1aa3a65b864f14ce0757ea97c4106f065d1696e35f8cacc577db3d82ef1e93385c71a2399416816c4e1582237b0
-Size (tcl8.6.14-src.tar.gz) = 11627322 bytes
+BLAKE2s (tcl8.6.16-src.tar.gz) = ccc62d3aa48e249864864b5d89061575bca88257cc30b3916d02cb7e455b65af
+SHA512 (tcl8.6.16-src.tar.gz) = 434c92f8181fb8dca6bc065b0f1f5078779086f19adf008818c90a3108596c63465ef43e9f3c1cfb3d4151a9de244d0bf0e6ee5b40e714b1ddca4a78eb43050b
+Size (tcl8.6.16-src.tar.gz) = 11678979 bytes
SHA1 (patch-generic_tclInt.h) = f41a50e6461d0afacd1c8656944403e438ea6baf
SHA1 (patch-generic_tclPort.h) = 36ff05b22591d588952e55d0f13c2ef52e371d1e
SHA1 (patch-generic_tclPosixStr.c) = 68da211865282fe7124cad71381658f8dfb986d6
-SHA1 (patch-pkgs_itcl4.2.4_configure) = 08dda22d03746914800b3802a08afacb2736dbd0
-SHA1 (patch-pkgs_sqlite3.44.2_Makefile.in) = 778de356cab55cac9ae60f8b9c7f64c7c609c907
-SHA1 (patch-pkgs_sqlite3.44.2_configure) = 7f1f1cd308d140bcf95077f8de0e3fda03a64bd0
-SHA1 (patch-pkgs_sqlite3.44.2_generic_tclsqlite3.c) = ab1eb84332b240b4e90e7d5457398f6b0dadc0cb
-SHA1 (patch-pkgs_tdbc1.1.7_configure) = 3b5aeaf2d2c7011937f8b3b1bb6d9f79130c9fb0
-SHA1 (patch-pkgs_tdbcmysql1.1.7_configure) = d7a26e50ab5136bddaaba6aa4b251684ba4d2573
-SHA1 (patch-pkgs_tdbcodbc1.1.7_configure) = e76b3f8a5bcc2266a47ef0f642564e994dd1a123
-SHA1 (patch-pkgs_tdbcpostgres1.1.7_configure) = 5a4293958afbccaca232a49817c412f1a0b60da3
-SHA1 (patch-pkgs_thread2.8.9_configure) = 6241f0a220c84db5c4920d81d70d6e94dcf67a6a
+SHA1 (patch-pkgs_itcl4.3.2_configure) = a24dfc1b8f28358c6be7d44a7c7c6f63d9b2883f
+SHA1 (patch-pkgs_sqlite3.47.2_Makefile.in) = 5b1152ca3a6bb04b471b93ce328d0ceb5dad4689
+SHA1 (patch-pkgs_sqlite3.47.2_configure) = 47df980b4afd3d96840d65a822e704ea1902ada4
+SHA1 (patch-pkgs_sqlite3.47.2_generic_tclsqlite3.c) = 7a2b91d05377d5a89215b20ea95e785632a16dab
+SHA1 (patch-pkgs_tdbc1.1.10_configure) = 7c2c95d1c9ea81cbb2821ef3cacf50d102427cbd
+SHA1 (patch-pkgs_tdbcmysql1.1.10_configure) = 5157381466851f6bfb81433792a4cb6f276acda5
+SHA1 (patch-pkgs_tdbcodbc1.1.10_configure) = eba57a51956faabb996cfa8c4d725314782cd47b
+SHA1 (patch-pkgs_tdbcpostgres1.1.10_configure) = e811f276e4aa5deca185b7f51f54ff53ed22a27d
+SHA1 (patch-pkgs_thread2.8.11_configure) = 8a286b6400493a6dc3e33c3905390ab80d552b8f
SHA1 (patch-tests_load.test) = 438695ab76e01646e49aadc01c44344a5495eabb
SHA1 (patch-tests_pkgMkIndex.test) = 70d1042c1f4743052c5fa191fa7c4732a08e28a2
SHA1 (patch-unix_Makefile.in) = e6ecbc7db3934ef4d7f0f24dd52c88ca0873289e
-SHA1 (patch-unix_configure) = e84bfa9a182756431e996b4ce725aa0667ef4664
+SHA1 (patch-unix_configure) = 085be79d73fa74e70838516bd646d3e1151e652c
SHA1 (patch-unix_tclConfig.sh.in) = 341ac4f1bbfb29551dea87ade98b3b7b59652a31
SHA1 (patch-unix_tclUnixCompat.c) = c5c124b5ccd240cbd34a83fd165c3dea208381cd
SHA1 (patch-unix_tclUnixFCmd.c) = e715d9419a36a8414355252bb3da0ef48b07fe4f
-SHA1 (patch-unix_tclUnixInit.c) = 6c4ff96d9dacbc37e02894a148144b368b8b6677
+SHA1 (patch-unix_tclUnixInit.c) = 1ab04ae006bb300e1d0fba4d1c799b50147f733c
SHA1 (patch-unix_tclUnixPort.h) = 9eff7a5d5842fe208b467fd2ad844192e2e6aec7
Index: pkgsrc/lang/tcl/patches/patch-unix_configure
diff -u pkgsrc/lang/tcl/patches/patch-unix_configure:1.15 pkgsrc/lang/tcl/patches/patch-unix_configure:1.16
--- pkgsrc/lang/tcl/patches/patch-unix_configure:1.15 Mon Jun 26 15:51:56 2023
+++ pkgsrc/lang/tcl/patches/patch-unix_configure Sat Jan 25 21:29:26 2025
@@ -1,8 +1,8 @@
-$NetBSD: patch-unix_configure,v 1.15 2023/06/26 15:51:56 adam Exp $
+$NetBSD: patch-unix_configure,v 1.16 2025/01/25 21:29:26 adam Exp $
---- unix/configure.orig 2022-06-06 16:00:23.000000000 +0000
+--- unix/configure.orig 2024-12-02 12:57:40.000000000 +0000
+++ unix/configure
-@@ -6771,12 +6771,12 @@ fi
+@@ -6772,12 +6772,12 @@ fi
LD_SEARCH_FLAGS=""
;;
BSD/OS-4.*)
@@ -17,7 +17,7 @@ $NetBSD: patch-unix_configure,v 1.15 202
CC_SEARCH_FLAGS=""
LD_SEARCH_FLAGS=""
;;
-@@ -7461,7 +7461,7 @@ fi
+@@ -7459,7 +7459,7 @@ fi
CC_SEARCH_FLAGS=""
LD_SEARCH_FLAGS=""
;;
@@ -26,7 +26,7 @@ $NetBSD: patch-unix_configure,v 1.15 202
arch=`arch -s`
case "$arch" in
alpha|sparc64)
-@@ -7482,7 +7482,7 @@ fi
+@@ -7480,7 +7480,7 @@ fi
LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so${SHLIB_VERSION}'
@@ -35,7 +35,7 @@ $NetBSD: patch-unix_configure,v 1.15 202
CFLAGS_OPTIMIZE="-O2"
if test "${TCL_THREADS}" = "1"; then
-@@ -7504,7 +7504,7 @@ fi
+@@ -7502,7 +7502,7 @@ fi
SHLIB_SUFFIX=".so"
DL_OBJS="tclLoadDl.o"
DL_LIBS=""
@@ -44,7 +44,7 @@ $NetBSD: patch-unix_configure,v 1.15 202
if test $doRpath = yes; then
CC_SEARCH_FLAGS='"-Wl,-rpath,${LIB_RUNTIME_DIR}"'
-@@ -7522,7 +7522,6 @@ fi
+@@ -7520,7 +7520,6 @@ fi
;;
Darwin-*)
@@ -52,20 +52,19 @@ $NetBSD: patch-unix_configure,v 1.15 202
SHLIB_CFLAGS="-fno-common"
# To avoid discrepancies between what headers configure sees during
# preprocessing tests and compiling tests, move any -isysroot and
-@@ -8800,7 +8799,11 @@ fi
-
+@@ -8799,6 +8798,11 @@ fi
else
-- INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) "$(LIB_INSTALL_DIR)/$(LIB_FILE)"'
-+ if test "${SHLIB_SUFFIX}" = ".dylib" ; then
-+ INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) "$(LIB_INSTALL_DIR)/libtcl$(MAJOR_VERSION)$(MINOR_VERSION)$(SHLIB_VERSION)$(SHLIB_SUFFIX)"'
-+ else
-+ INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) "$(LIB_INSTALL_DIR)/$(LIB_FILE)$(SHLIB_VERSION)"'
-+ fi
+ INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) "$(LIB_INSTALL_DIR)/$(LIB_FILE)"'
++ if test "${SHLIB_SUFFIX}" = ".dylib" ; then
++ INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) "$(LIB_INSTALL_DIR)/libtcl$(MAJOR_VERSION)$(MINOR_VERSION)$(SHLIB_VERSION)$(SHLIB_SUFFIX)"'
++ else
++ INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) "$(LIB_INSTALL_DIR)/$(LIB_FILE)$(SHLIB_VERSION)"'
++ fi
fi
-@@ -8835,7 +8838,7 @@ else
+@@ -8833,7 +8837,7 @@ else
fi
@@ -74,7 +73,7 @@ $NetBSD: patch-unix_configure,v 1.15 202
# Define TCL_LIBS now that we know what DL_LIBS is.
# The trick here is that we don't want to change the value of TCL_LIBS if
-@@ -18811,9 +18814,9 @@ fi
+@@ -19101,9 +19105,9 @@ fi
# building libtcl as a shared library instead of a static library.
#--------------------------------------------------------------------
@@ -87,14 +86,14 @@ $NetBSD: patch-unix_configure,v 1.15 202
# tclConfig.sh needs a version of the _LIB_SUFFIX that has been eval'ed
# since on some platforms TCL_LIB_FILE contains shell escapes.
-@@ -18926,13 +18929,10 @@ else
+@@ -19216,13 +19220,10 @@ else
eval libdir="$libdir"
# default install directory for bundled packages
PACKAGE_DIR="$libdir"
- if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
-- TCL_LIB_FLAG="-ltcl${TCL_VERSION}"
+- TCL_LIB_FLAG="-ltcl${TCL_VERSION}"
- else
-- TCL_LIB_FLAG="-ltcl`echo ${TCL_VERSION} | tr -d .`"
+- TCL_LIB_FLAG="-ltcl`echo ${TCL_VERSION} | tr -d .`"
- fi
+ TCL_LIB_FLAG="-ltcl${TCL_MAJOR_VERSION}${TCL_MINOR_VERSION}"
TCL_BUILD_LIB_SPEC="-L`pwd | sed -e 's/ /\\\\ /g'` ${TCL_LIB_FLAG}"
@@ -104,19 +103,19 @@ $NetBSD: patch-unix_configure,v 1.15 202
fi
VERSION='${VERSION}'
eval "CFG_TCL_SHARED_LIB_SUFFIX=${TCL_SHARED_LIB_SUFFIX}"
-@@ -18951,10 +18951,8 @@ if test "$FRAMEWORK_BUILD" = "1" ; then
- TCL_PACKAGE_PATH="~/Library/Tcl /Library/Tcl ~/Library/Frameworks /Library/Frameworks"
+@@ -19243,10 +19244,8 @@ if test "$FRAMEWORK_BUILD" = "1" ; then
+ TCL_PACKAGE_PATH="$TCL_PACKAGE_PATH:/Library/Frameworks/Tk.framework/Versions"
test -z "$TCL_MODULE_PATH" && \
TCL_MODULE_PATH="~/Library/Tcl /Library/Tcl"
-elif test "$prefix/lib" != "$libdir"; then
-- test -z "$TCL_PACKAGE_PATH" && TCL_PACKAGE_PATH="{${libdir}} {${prefix}/lib} ${TCL_PACKAGE_PATH}"
+- test -z "$TCL_PACKAGE_PATH" && TCL_PACKAGE_PATH="${libdir}:${prefix}/lib"
else
-- test -z "$TCL_PACKAGE_PATH" && TCL_PACKAGE_PATH="{${prefix}/lib} ${TCL_PACKAGE_PATH}"
+- test -z "$TCL_PACKAGE_PATH" && TCL_PACKAGE_PATH="${prefix}/lib"
+ test -z "$TCL_PACKAGE_PATH" && TCL_PACKAGE_PATH="${prefix}/lib/tcl ${prefix}/lib"
fi
#--------------------------------------------------------------------
-@@ -18969,12 +18967,7 @@ eval "TCL_STUB_LIB_FILE=libtclstub${TCL_
+@@ -19261,12 +19260,7 @@ eval "TCL_STUB_LIB_FILE=libtclstub${TCL_
eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""
eval "TCL_STUB_LIB_DIR=\"${libdir}\""
@@ -130,7 +129,7 @@ $NetBSD: patch-unix_configure,v 1.15 202
TCL_BUILD_STUB_LIB_SPEC="-L`pwd | sed -e 's/ /\\\\ /g'` ${TCL_STUB_LIB_FLAG}"
TCL_STUB_LIB_SPEC="-L${TCL_STUB_LIB_DIR} ${TCL_STUB_LIB_FLAG}"
TCL_BUILD_STUB_LIB_PATH="`pwd`/${TCL_STUB_LIB_FILE}"
-@@ -19128,34 +19121,15 @@ fi
+@@ -19420,34 +19414,15 @@ fi
# Transform confdefs.h into DEFS.
# Protect against shell expansion while executing Makefile rules.
# Protect against Makefile macro expansion.
@@ -174,7 +173,7 @@ $NetBSD: patch-unix_configure,v 1.15 202
-@@ -19785,6 +19759,7 @@ s,@EXTRA_BUILD_HTML@,$EXTRA_BUILD_HTML,;
+@@ -20077,6 +20052,7 @@ s,@EXTRA_BUILD_HTML@,$EXTRA_BUILD_HTML,;
s,@EXTRA_TCLSH_LIBS@,$EXTRA_TCLSH_LIBS,;t t
s,@DLTEST_LD@,$DLTEST_LD,;t t
s,@DLTEST_SUFFIX@,$DLTEST_SUFFIX,;t t
Index: pkgsrc/lang/tcl/patches/patch-unix_tclUnixInit.c
diff -u pkgsrc/lang/tcl/patches/patch-unix_tclUnixInit.c:1.5 pkgsrc/lang/tcl/patches/patch-unix_tclUnixInit.c:1.6
--- pkgsrc/lang/tcl/patches/patch-unix_tclUnixInit.c:1.5 Wed Jan 20 20:38:49 2021
+++ pkgsrc/lang/tcl/patches/patch-unix_tclUnixInit.c Sat Jan 25 21:29:26 2025
@@ -1,8 +1,8 @@
-$NetBSD: patch-unix_tclUnixInit.c,v 1.5 2021/01/20 20:38:49 adam Exp $
+$NetBSD: patch-unix_tclUnixInit.c,v 1.6 2025/01/25 21:29:26 adam Exp $
Carried over from TCL 8.4
---- unix/tclUnixInit.c.orig 2020-12-11 17:46:23.000000000 +0000
+--- unix/tclUnixInit.c.orig 2024-11-27 15:56:57.000000000 +0000
+++ unix/tclUnixInit.c
@@ -22,7 +22,7 @@
# endif
@@ -26,7 +26,7 @@ Carried over from TCL 8.4
#ifdef __CYGWIN__
#ifdef __cplusplus
-@@ -394,7 +400,7 @@ TclpInitPlatform(void)
+@@ -393,7 +399,7 @@ TclpInitPlatform(void)
(void) signal(SIGPIPE, SIG_IGN);
#endif /* SIGPIPE */
@@ -35,10 +35,10 @@ Carried over from TCL 8.4
/*
* Adjust the rounding mode to be more conventional. Note that FreeBSD
* only provides the __fpsetreg() used by the following two for the GNU
-@@ -793,6 +799,11 @@ TclpSetVariables(
- #endif
+@@ -797,6 +803,11 @@ TclpSetVariables(
int unameOK;
- Tcl_DString ds;
+ const char *p, *q;
+ Tcl_Obj *pkgListObj = Tcl_NewObj();
+#if defined(__NetBSD__)
+ char machine_arch[SYS_NMLN];
+ int mib[2] = { CTL_HW, HW_MACHINE_ARCH };
@@ -47,7 +47,7 @@ Carried over from TCL 8.4
#ifdef HAVE_COREFOUNDATION
char tclLibPath[MAXPATHLEN + 1];
-@@ -951,8 +962,15 @@ TclpSetVariables(
+@@ -947,8 +958,15 @@ TclpSetVariables(
#endif /* DJGPP */
}
Added files:
Index: pkgsrc/lang/tcl/patches/patch-pkgs_itcl4.3.2_configure
diff -u /dev/null pkgsrc/lang/tcl/patches/patch-pkgs_itcl4.3.2_configure:1.1
--- /dev/null Sat Jan 25 21:29:26 2025
+++ pkgsrc/lang/tcl/patches/patch-pkgs_itcl4.3.2_configure Sat Jan 25 21:29:25 2025
@@ -0,0 +1,30 @@
+$NetBSD: patch-pkgs_itcl4.3.2_configure,v 1.1 2025/01/25 21:29:25 adam Exp $
+
+Honor LDFLAGS on NetBSD.
+https://core.tcl.tk/tcl/tktview/fed5069f8a8e59e97af0a784b534919f5b789b1e
+
+--- pkgs/itcl4.3.2/configure.orig 2023-12-20 17:04:40.000000000 +0000
++++ pkgs/itcl4.3.2/configure
+@@ -7444,20 +7444,18 @@ then :
+ fi
+ LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so${SHLIB_VERSION}'
+- LDFLAGS="$LDFLAGS -Wl,-export-dynamic"
++ LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
+ CFLAGS_OPTIMIZE="-O2"
+ # On OpenBSD: Compile with -pthread
+ # Don't link with -lpthread
+ LIBS=`echo $LIBS | sed s/-lpthread//`
+ CFLAGS="$CFLAGS -pthread"
+ # 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
Index: pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.47.2_Makefile.in
diff -u /dev/null pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.47.2_Makefile.in:1.1
--- /dev/null Sat Jan 25 21:29:26 2025
+++ pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.47.2_Makefile.in Sat Jan 25 21:29:25 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-pkgs_sqlite3.47.2_Makefile.in,v 1.1 2025/01/25 21:29:25 adam Exp $
+
+Fix building with system sqlite3.
+
+--- pkgs/sqlite3.47.2/Makefile.in.orig 2022-11-18 18:49:30.000000000 +0000
++++ pkgs/sqlite3.47.2/Makefile.in
+@@ -155,7 +155,7 @@ SHARED_BUILD = @SHARED_BUILD@
+ INCLUDES = @PKG_INCLUDES@ @TCL_INCLUDES@ -I. -I$(srcdir)/..
+ #INCLUDES = @PKG_INCLUDES@ @TCL_INCLUDES@ @TK_INCLUDES@ @TK_XINCLUDES@
+
+-PKG_CFLAGS = @PKG_CFLAGS@ -DSQLITE_EXTERN=
++PKG_CFLAGS = @PKG_CFLAGS@
+
+ # TCL_DEFS is not strictly need here, but if you remove it, then you
+ # must make sure that configure.ac checks for the necessary components
Index: pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.47.2_configure
diff -u /dev/null pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.47.2_configure:1.1
--- /dev/null Sat Jan 25 21:29:26 2025
+++ pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.47.2_configure Sat Jan 25 21:29:25 2025
@@ -0,0 +1,30 @@
+$NetBSD: patch-pkgs_sqlite3.47.2_configure,v 1.1 2025/01/25 21:29:25 adam Exp $
+
+Honor LDFLAGS on NetBSD.
+https://core.tcl.tk/tcl/tktview/fed5069f8a8e59e97af0a784b534919f5b789b1e
+
+--- pkgs/sqlite3.47.2/configure.orig 2023-11-28 11:02:09.000000000 +0000
++++ pkgs/sqlite3.47.2/configure
+@@ -7458,20 +7458,18 @@ then :
+ fi
+ LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so${SHLIB_VERSION}'
+- LDFLAGS="$LDFLAGS -Wl,-export-dynamic"
++ LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
+ CFLAGS_OPTIMIZE="-O2"
+ # On OpenBSD: Compile with -pthread
+ # Don't link with -lpthread
+ LIBS=`echo $LIBS | sed s/-lpthread//`
+ CFLAGS="$CFLAGS -pthread"
+ # 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
Index: pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.47.2_generic_tclsqlite3.c
diff -u /dev/null pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.47.2_generic_tclsqlite3.c:1.1
--- /dev/null Sat Jan 25 21:29:26 2025
+++ pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.47.2_generic_tclsqlite3.c Sat Jan 25 21:29:25 2025
@@ -0,0 +1,14 @@
+$NetBSD: patch-pkgs_sqlite3.47.2_generic_tclsqlite3.c,v 1.1 2025/01/25 21:29:25 adam Exp $
+
+add missing include for uintptr_t
+
+--- pkgs/sqlite3.47.2/generic/tclsqlite3.c.orig 2024-04-09 01:04:35.609524877 +0000
++++ pkgs/sqlite3.47.2/generic/tclsqlite3.c
+@@ -73,6 +73,7 @@
+ # endif
+ # endif /* SQLITE_PTRSIZE */
+ # if defined(HAVE_STDINT_H)
++# include <stdint.h>
+ typedef uintptr_t uptr;
+ # elif SQLITE_PTRSIZE==4
+ typedef unsigned int uptr;
Index: pkgsrc/lang/tcl/patches/patch-pkgs_tdbc1.1.10_configure
diff -u /dev/null pkgsrc/lang/tcl/patches/patch-pkgs_tdbc1.1.10_configure:1.1
--- /dev/null Sat Jan 25 21:29:26 2025
+++ pkgsrc/lang/tcl/patches/patch-pkgs_tdbc1.1.10_configure Sat Jan 25 21:29:25 2025
@@ -0,0 +1,30 @@
+$NetBSD: patch-pkgs_tdbc1.1.10_configure,v 1.1 2025/01/25 21:29:25 adam Exp $
+
+Honor LDFLAGS on NetBSD.
+https://core.tcl.tk/tcl/tktview/fed5069f8a8e59e97af0a784b534919f5b789b1e
+
+--- pkgs/tdbc1.1.10/configure.orig 2024-02-23 15:51:36.000000000 +0000
++++ pkgs/tdbc1.1.10/configure
+@@ -7765,20 +7765,18 @@ then :
+ fi
+ LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so${SHLIB_VERSION}'
+- LDFLAGS="$LDFLAGS -Wl,-export-dynamic"
++ LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
+ CFLAGS_OPTIMIZE="-O2"
+ # On OpenBSD: Compile with -pthread
+ # Don't link with -lpthread
+ LIBS=`echo $LIBS | sed s/-lpthread//`
+ CFLAGS="$CFLAGS -pthread"
+ # 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
Index: pkgsrc/lang/tcl/patches/patch-pkgs_tdbcmysql1.1.10_configure
diff -u /dev/null pkgsrc/lang/tcl/patches/patch-pkgs_tdbcmysql1.1.10_configure:1.1
--- /dev/null Sat Jan 25 21:29:26 2025
+++ pkgsrc/lang/tcl/patches/patch-pkgs_tdbcmysql1.1.10_configure Sat Jan 25 21:29:26 2025
@@ -0,0 +1,30 @@
+$NetBSD: patch-pkgs_tdbcmysql1.1.10_configure,v 1.1 2025/01/25 21:29:26 adam Exp $
+
+Honor LDFLAGS on NetBSD.
+https://core.tcl.tk/tcl/tktview/fed5069f8a8e59e97af0a784b534919f5b789b1e
+
+--- pkgs/tdbcmysql1.1.10/configure.orig 2024-02-09 15:49:31.000000000 +0000
++++ pkgs/tdbcmysql1.1.10/configure
+@@ -8131,20 +8131,18 @@ then :
+ fi
+ LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so${SHLIB_VERSION}'
+- LDFLAGS="$LDFLAGS -Wl,-export-dynamic"
++ LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
+ CFLAGS_OPTIMIZE="-O2"
+ # On OpenBSD: Compile with -pthread
+ # Don't link with -lpthread
+ LIBS=`echo $LIBS | sed s/-lpthread//`
+ CFLAGS="$CFLAGS -pthread"
+ # 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
Index: pkgsrc/lang/tcl/patches/patch-pkgs_tdbcodbc1.1.10_configure
diff -u /dev/null pkgsrc/lang/tcl/patches/patch-pkgs_tdbcodbc1.1.10_configure:1.1
--- /dev/null Sat Jan 25 21:29:26 2025
+++ pkgsrc/lang/tcl/patches/patch-pkgs_tdbcodbc1.1.10_configure Sat Jan 25 21:29:26 2025
@@ -0,0 +1,30 @@
+$NetBSD: patch-pkgs_tdbcodbc1.1.10_configure,v 1.1 2025/01/25 21:29:26 adam Exp $
+
+Honor LDFLAGS on NetBSD.
+https://core.tcl.tk/tcl/tktview/fed5069f8a8e59e97af0a784b534919f5b789b1e
+
+--- pkgs/tdbcodbc1.1.10/configure.orig 2024-02-09 15:53:38.000000000 +0000
++++ pkgs/tdbcodbc1.1.10/configure
+@@ -8131,20 +8131,18 @@ then :
+ fi
+ LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so${SHLIB_VERSION}'
+- LDFLAGS="$LDFLAGS -Wl,-export-dynamic"
++ LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
+ CFLAGS_OPTIMIZE="-O2"
+ # On OpenBSD: Compile with -pthread
+ # Don't link with -lpthread
+ LIBS=`echo $LIBS | sed s/-lpthread//`
+ CFLAGS="$CFLAGS -pthread"
+ # 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
Index: pkgsrc/lang/tcl/patches/patch-pkgs_tdbcpostgres1.1.10_configure
diff -u /dev/null pkgsrc/lang/tcl/patches/patch-pkgs_tdbcpostgres1.1.10_configure:1.1
--- /dev/null Sat Jan 25 21:29:26 2025
+++ pkgsrc/lang/tcl/patches/patch-pkgs_tdbcpostgres1.1.10_configure Sat Jan 25 21:29:26 2025
@@ -0,0 +1,30 @@
+$NetBSD: patch-pkgs_tdbcpostgres1.1.10_configure,v 1.1 2025/01/25 21:29:26 adam Exp $
+
+Honor LDFLAGS on NetBSD.
+https://core.tcl.tk/tcl/tktview/fed5069f8a8e59e97af0a784b534919f5b789b1e
+
+--- pkgs/tdbcpostgres1.1.10/configure.orig 2024-02-23 15:59:31.000000000 +0000
++++ pkgs/tdbcpostgres1.1.10/configure
+@@ -8131,20 +8131,18 @@ then :
+ fi
+ LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so${SHLIB_VERSION}'
+- LDFLAGS="$LDFLAGS -Wl,-export-dynamic"
++ LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
+ CFLAGS_OPTIMIZE="-O2"
+ # On OpenBSD: Compile with -pthread
+ # Don't link with -lpthread
+ LIBS=`echo $LIBS | sed s/-lpthread//`
+ CFLAGS="$CFLAGS -pthread"
+ # 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
Index: pkgsrc/lang/tcl/patches/patch-pkgs_thread2.8.11_configure
diff -u /dev/null pkgsrc/lang/tcl/patches/patch-pkgs_thread2.8.11_configure:1.1
--- /dev/null Sat Jan 25 21:29:26 2025
+++ pkgsrc/lang/tcl/patches/patch-pkgs_thread2.8.11_configure Sat Jan 25 21:29:26 2025
@@ -0,0 +1,30 @@
+$NetBSD: patch-pkgs_thread2.8.11_configure,v 1.1 2025/01/25 21:29:26 adam Exp $
+
+Honor LDFLAGS on NetBSD.
+https://core.tcl.tk/tcl/tktview/fed5069f8a8e59e97af0a784b534919f5b789b1e
+
+--- pkgs/thread2.8.11/configure.orig 2024-02-07 18:27:29.000000000 +0000
++++ pkgs/thread2.8.11/configure
+@@ -7667,20 +7667,18 @@ then :
+ fi
+ LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so${SHLIB_VERSION}'
+- LDFLAGS="$LDFLAGS -Wl,-export-dynamic"
++ LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
+ CFLAGS_OPTIMIZE="-O2"
+ # On OpenBSD: Compile with -pthread
+ # Don't link with -lpthread
+ LIBS=`echo $LIBS | sed s/-lpthread//`
+ CFLAGS="$CFLAGS -pthread"
+ # 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
Home |
Main Index |
Thread Index |
Old Index