summaryrefslogtreecommitdiff
path: root/x11-toolkits/tk86/files/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/tk86/files/patch-configure')
-rw-r--r--x11-toolkits/tk86/files/patch-configure19
1 files changed, 19 insertions, 0 deletions
diff --git a/x11-toolkits/tk86/files/patch-configure b/x11-toolkits/tk86/files/patch-configure
new file mode 100644
index 000000000000..37b1be13e9fd
--- /dev/null
+++ b/x11-toolkits/tk86/files/patch-configure
@@ -0,0 +1,19 @@
+--- configure.orig 2016-07-26 14:07:50 UTC
++++ configure
+@@ -5456,15 +5456,11 @@ fi
+ LDFLAGS="$LDFLAGS $PTHREAD_LIBS"
+ fi
+
+- case $system in
+- FreeBSD-3.*)
+ # Version numbers are dot-stripped by system policy.
+ TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .`
+ 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
+ ;;
+ Darwin-*)
+ CFLAGS_OPTIMIZE="-Os"