diff options
Diffstat (limited to 'x11-toolkits/tk85/files/patch-unix__configure')
-rw-r--r-- | x11-toolkits/tk85/files/patch-unix__configure | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/x11-toolkits/tk85/files/patch-unix__configure b/x11-toolkits/tk85/files/patch-unix__configure new file mode 100644 index 000000000000..7e2cd669c000 --- /dev/null +++ b/x11-toolkits/tk85/files/patch-unix__configure @@ -0,0 +1,40 @@ +--- configure.orig 2011-06-23 20:37:39.000000000 +0200 ++++ configure 2011-06-26 10:43:11.471967707 +0200 +@@ -3538,6 +3538,7 @@ + # Threads support - this auto-enables if Tcl was compiled threaded + #------------------------------------------------------------------------ + ++TCL_SRC_DIR=${prefix}/include/tcl${TCLVERSION} + + # Check whether --enable-threads or --disable-threads was given. + if test "${enable_threads+set}" = set; then +@@ -5854,7 +5855,7 @@ + SHLIB_SUFFIX=".so" + DL_OBJS="tclLoadDl.o" + DL_LIBS="" +- LDFLAGS="$LDFLAGS -export-dynamic" ++ LDFLAGS="" + if test $doRpath = yes; then + + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' +@@ -5865,16 +5866,16 @@ + + # The -pthread needs to go in the CFLAGS, not LIBS + LIBS=`echo $LIBS | sed s/-pthread//` +- CFLAGS="$CFLAGS -pthread" +- LDFLAGS="$LDFLAGS -pthread" ++ CFLAGS="$CFLAGS $PTHREAD_CFLAGS" ++ LDFLAGS="$LDFLAGS $PTHREAD_LIBS" + + fi + + case $system in +- FreeBSD-3.*) ++ FreeBSD-*) + # FreeBSD-3 doesn't handle version numbers with dots. + UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so' ++ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1' + TCL_LIB_VERSIONS_OK=nodots + ;; + esac |