summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2012-04-26 19:47:53 +0000
committerAlexis Ballier <aballier@gentoo.org>2012-04-26 19:47:53 +0000
commit16f448356e4d7dbd917f7165d992853dbba262a7 (patch)
tree875d40f41a8ba1e9ae9195e27354d939e798aa4f /dev-lang/tk/files
parentkeyword ~amd64-fbsd (diff)
downloadgentoo-2-16f448356e4d7dbd917f7165d992853dbba262a7.tar.gz
gentoo-2-16f448356e4d7dbd917f7165d992853dbba262a7.tar.bz2
gentoo-2-16f448356e4d7dbd917f7165d992853dbba262a7.zip
port tcl fbsd patch to let it build sanely on FreeBSD: the patch is for tcl.m4 and tk bundles it own unfixed version...
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/tk/files')
-rw-r--r--dev-lang/tk/files/tcl-8.5.9-gentoo-fbsd.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-lang/tk/files/tcl-8.5.9-gentoo-fbsd.patch b/dev-lang/tk/files/tcl-8.5.9-gentoo-fbsd.patch
new file mode 100644
index 000000000000..022d81d3e261
--- /dev/null
+++ b/dev-lang/tk/files/tcl-8.5.9-gentoo-fbsd.patch
@@ -0,0 +1,13 @@
+diff --git a/unix/tcl.m4 b/unix/tcl.m4
+index fdd9d44..31bfca8 100644
+--- a/unix/tcl.m4
++++ b/unix/tcl.m4
+@@ -1601,7 +1601,7 @@ dnl AC_CHECK_TOOL(AR, ar)
+ # 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}\$\{DBGX\}.so.1'
++ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
+ TCL_LIB_VERSIONS_OK=nodots
+ ;;
+ Darwin-*)