ports/lang/tcl86/files/patch-unix-configure
Pietro Cerutti 552140e98e lang/tcl86: fix build with non-default options (THREADS off)
The additional lines in the patch to unix/configure were erroneously
placed inside an if block that was guarded by the enablement of the
THREADS option.

PR:		260970
Reported by:	David Armstrong <bink19th@pm.me>
2022-01-06 13:13:58 +00:00

13 lines
418 B
Text

--- unix/configure.orig 2021-11-04 15:04:06 UTC
+++ unix/configure
@@ -7323,6 +7323,10 @@ fi
case $system in
DragonFly-*|FreeBSD-*)
+ SHLIB_LD_LIBS="${SHLIB_LD_LIBS} -Wl,-soname,\$@"
+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a'
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1'
+ TCL_LIB_VERSIONS_OK=nodots
if test "${TCL_THREADS}" = "1"; then
# The -pthread needs to go in the LDFLAGS, not LIBS