aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/tk85
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2010-12-09 08:48:49 +0000
committerMartin Matuska <mm@FreeBSD.org>2010-12-09 08:48:49 +0000
commit5b6716a1e7cb1de9b08900243405d76bd1496409 (patch)
tree7467ba64cdc117557d7e3578b0ad4a7dff724423 /x11-toolkits/tk85
parent86118d106c44021aea85187626377640fa391869 (diff)
downloadports-5b6716a1e7cb1de9b08900243405d76bd1496409.tar.gz
ports-5b6716a1e7cb1de9b08900243405d76bd1496409.zip
Notes
Diffstat (limited to 'x11-toolkits/tk85')
-rw-r--r--x11-toolkits/tk85/files/patch-unix::configure19
1 files changed, 14 insertions, 5 deletions
diff --git a/x11-toolkits/tk85/files/patch-unix::configure b/x11-toolkits/tk85/files/patch-unix::configure
index fe54d378c066..4da022e29b0c 100644
--- a/x11-toolkits/tk85/files/patch-unix::configure
+++ b/x11-toolkits/tk85/files/patch-unix::configure
@@ -1,6 +1,6 @@
---- configure.orig 2007-12-17 18:57:25.000000000 +0100
-+++ configure 2007-12-29 14:17:55.000000000 +0100
-@@ -3536,6 +3536,7 @@
+--- configure.orig 2010-09-02 20:12:14.000000000 +0200
++++ configure 2010-12-09 09:26:30.809229814 +0100
+@@ -3538,6 +3538,7 @@
# Threads support - this auto-enables if Tcl was compiled threaded
#------------------------------------------------------------------------
@@ -8,7 +8,7 @@
# Check whether --enable-threads or --disable-threads was given.
if test "${enable_threads+set}" = set; then
-@@ -5828,7 +5829,7 @@
+@@ -5815,7 +5816,7 @@
SHLIB_SUFFIX=".so"
DL_OBJS="tclLoadDl.o"
DL_LIBS=""
@@ -17,7 +17,7 @@
if test $doRpath = yes; then
CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
-@@ -5839,16 +5840,16 @@
+@@ -5826,16 +5827,16 @@
# The -pthread needs to go in the CFLAGS, not LIBS
LIBS=`echo $LIBS | sed s/-pthread//`
@@ -38,3 +38,12 @@
TCL_LIB_VERSIONS_OK=nodots
;;
esac
+@@ -5844,7 +5845,7 @@
+ # This configuration from FreeBSD Ports.
+ SHLIB_CFLAGS="-fPIC"
+ SHLIB_LD="${CC} -shared"
+- TCL_SHLIB_LD_EXTRAS="-soname \$@"
++ TCL_SHLIB_LD_EXTRAS="-Wl,-soname,\$@"
+ SHLIB_LD_LIBS='${LIBS}'
+ SHLIB_SUFFIX=".so"
+ DL_OBJS="tclLoadDl.o"