summaryrefslogtreecommitdiff
path: root/x11/tk/patches
diff options
context:
space:
mode:
authordsainty <dsainty@pkgsrc.org>2012-08-29 11:55:06 +0000
committerdsainty <dsainty@pkgsrc.org>2012-08-29 11:55:06 +0000
commit433b6276be2e4a0c1fb3e08889cda795795fcb56 (patch)
tree8647f835dc929aea0ea3759b83c71cb948b15589 /x11/tk/patches
parent633708150d20d53c389ca82985e00711b5d6856c (diff)
downloadpkgsrc-433b6276be2e4a0c1fb3e08889cda795795fcb56.tar.gz
For all but the default case the library file names use TCL_TRIM_DOTS
and end up with libtk85.so. The default case would end up with libtk8.5.so instead, which at least conflicts with what the PLIST says, but also eventually failed to build on platforms ending up with the default behaviour. Fixes the build on Linux platforms, should be no change elsewhere.
Diffstat (limited to 'x11/tk/patches')
-rw-r--r--x11/tk/patches/patch-unix_configure17
1 files changed, 16 insertions, 1 deletions
diff --git a/x11/tk/patches/patch-unix_configure b/x11/tk/patches/patch-unix_configure
index 890901bece5..b0bb04926b5 100644
--- a/x11/tk/patches/patch-unix_configure
+++ b/x11/tk/patches/patch-unix_configure
@@ -1,4 +1,4 @@
-$NetBSD: patch-unix_configure,v 1.3 2012/08/25 11:51:24 bsiegert Exp $
+$NetBSD: patch-unix_configure,v 1.4 2012/08/29 11:55:06 dsainty Exp $
--- unix/configure.orig 2012-07-25 16:45:53.000000000 +0000
+++ unix/configure
@@ -87,6 +87,21 @@ $NetBSD: patch-unix_configure,v 1.3 2012/08/25 11:51:24 bsiegert Exp $
Darwin-*) ;;
SCO_SV-3.2*) ;;
*) SHLIB_CFLAGS="-fPIC" ;;
+@@ -7169,12 +7163,12 @@
+
+ if test "$SHARED_LIB_SUFFIX" = ""; then
+
+- SHARED_LIB_SUFFIX='${VERSION}${SHLIB_SUFFIX}'
++ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}${SHLIB_SUFFIX}'
+ fi
+
+ if test "$UNSHARED_LIB_SUFFIX" = ""; then
+
+- UNSHARED_LIB_SUFFIX='${VERSION}.a'
++ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a'
+ fi
+
+ DLL_INSTALL_DIR="\$(LIB_INSTALL_DIR)"
@@ -7190,7 +7184,7 @@ fi
else