diff options
author | Martin Matuska <mm@FreeBSD.org> | 2007-12-29 21:39:48 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2007-12-29 21:39:48 +0000 |
commit | 393b78141e94e537cb8c7a8726e820e3e016c9b2 (patch) | |
tree | 0d5f066f64f0674231ebaa39ecd72fc2d76b64ca /x11-toolkits/tk86/files/patch-unix::configure | |
parent | 883464b5bd531b766f48237b07f78d9970507bbd (diff) | |
download | ports-393b78141e94e537cb8c7a8726e820e3e016c9b2.tar.gz ports-393b78141e94e537cb8c7a8726e820e3e016c9b2.zip |
Notes
Diffstat (limited to 'x11-toolkits/tk86/files/patch-unix::configure')
-rw-r--r-- | x11-toolkits/tk86/files/patch-unix::configure | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/x11-toolkits/tk86/files/patch-unix::configure b/x11-toolkits/tk86/files/patch-unix::configure index ea2ea6bed575..fe54d378c066 100644 --- a/x11-toolkits/tk86/files/patch-unix::configure +++ b/x11-toolkits/tk86/files/patch-unix::configure @@ -1,6 +1,6 @@ ---- configure.orig 2007-09-24 18:09:13.000000000 +0200 -+++ configure 2007-09-27 20:50:38.000000000 +0200 -@@ -3535,6 +3535,7 @@ +--- configure.orig 2007-12-17 18:57:25.000000000 +0100 ++++ configure 2007-12-29 14:17:55.000000000 +0100 +@@ -3536,6 +3536,7 @@ # Threads support - this auto-enables if Tcl was compiled threaded #------------------------------------------------------------------------ @@ -8,22 +8,26 @@ # Check whether --enable-threads or --disable-threads was given. if test "${enable_threads+set}" = set; then -@@ -5694,20 +5695,20 @@ +@@ -5828,7 +5829,7 @@ SHLIB_SUFFIX=".so" DL_OBJS="tclLoadDl.o" DL_LIBS="" - LDFLAGS="$LDFLAGS -export-dynamic" + LDFLAGS="" - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' - LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} - if test "${TCL_THREADS}" = "1" ; then + if test $doRpath = yes; then + + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' +@@ -5839,16 +5840,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 + + fi + case $system in - FreeBSD-3.*) + FreeBSD-*) |