aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/tk84/files/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/tk84/files/patch-configure')
-rw-r--r--x11-toolkits/tk84/files/patch-configure18
1 files changed, 18 insertions, 0 deletions
diff --git a/x11-toolkits/tk84/files/patch-configure b/x11-toolkits/tk84/files/patch-configure
new file mode 100644
index 000000000000..75a1b42619c0
--- /dev/null
+++ b/x11-toolkits/tk84/files/patch-configure
@@ -0,0 +1,18 @@
+--- configure.orig 2013-06-03 19:29:08.000000000 +0200
++++ configure 2014-01-17 18:06:08.000000000 +0100
+@@ -2927,6 +2927,7 @@
+ SHLIB_CFLAGS="-fPIC"
+ SHLIB_LD="${CC} -shared"
+ TCL_SHLIB_LD_EXTRAS="-Wl,-soname,\$@"
++ TK_SHLIB_LD_EXTRAS="-Wl,-soname,\$@"
+ SHLIB_SUFFIX=".so"
+ DL_OBJS="tclLoadDl.o"
+ DL_LIBS=""
+@@ -3418,6 +3419,7 @@
+ #define _POSIX_PTHREAD_SEMANTICS 1
+ EOF
+
++TCL_SRC_DIR=${prefix}/include/tcl${TCLVERSION}
+
+ SHLIB_CFLAGS="-KPIC"
+