SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
19
lang/expect/patches/patch-tclconfig_tcl_m4
Normal file
19
lang/expect/patches/patch-tclconfig_tcl_m4
Normal file
|
@ -0,0 +1,19 @@
|
|||
without patch below, it would be needed to have
|
||||
LD_PRELOAD=libpthread.so set when running tcl/tk
|
||||
non-threaded FLAVOR
|
||||
|
||||
--- tclconfig/tcl.m4.orig Tue May 14 11:12:51 2013
|
||||
+++ tclconfig/tcl.m4 Tue May 14 11:14:03 2013
|
||||
@@ -1593,12 +1593,6 @@ dnl AC_CHECK_TOOL(AR, ar)
|
||||
AS_IF([test $tcl_cv_ld_elf = yes], [
|
||||
LDFLAGS=-Wl,-export-dynamic
|
||||
], [LDFLAGS=""])
|
||||
- AS_IF([test "${TCL_THREADS}" = "1"], [
|
||||
- # OpenBSD builds and links with -pthread, never -lpthread.
|
||||
- LIBS=`echo $LIBS | sed s/-lpthread//`
|
||||
- CFLAGS="$CFLAGS -pthread"
|
||||
- SHLIB_CFLAGS="$SHLIB_CFLAGS -pthread"
|
||||
- ])
|
||||
# OpenBSD doesn't do version numbers with dots.
|
||||
UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a'
|
||||
TCL_LIB_VERSIONS_OK=nodots
|
Loading…
Add table
Add a link
Reference in a new issue