summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2011-08-05 08:20:20 +0000
committerNaohiro Aota <naota@gentoo.org>2011-08-05 08:20:20 +0000
commit3bb19a2e51eeb86b751da1fdcc221e86503954f9 (patch)
tree7b68814de8af33f4ba82b0aebc021c143a8674c1 /dev-lang
parentFixing bug #377653 (diff)
downloadgentoo-2-3bb19a2e51eeb86b751da1fdcc221e86503954f9.tar.gz
gentoo-2-3bb19a2e51eeb86b751da1fdcc221e86503954f9.tar.bz2
gentoo-2-3bb19a2e51eeb86b751da1fdcc221e86503954f9.zip
Apply shared object versioning policy on Gentoo/FreeBSD. Bug 354067
(Portage version: 2.2.0_alpha49/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/tcl/ChangeLog6
-rw-r--r--dev-lang/tcl/files/tcl-8.5.9-gentoo-fbsd.patch13
-rw-r--r--dev-lang/tcl/tcl-8.5.9.ebuild5
3 files changed, 22 insertions, 2 deletions
diff --git a/dev-lang/tcl/ChangeLog b/dev-lang/tcl/ChangeLog
index a64c6a478829..2796486ad480 100644
--- a/dev-lang/tcl/ChangeLog
+++ b/dev-lang/tcl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/tcl
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/ChangeLog,v 1.138 2011/03/23 19:05:10 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/ChangeLog,v 1.139 2011/08/05 08:20:20 naota Exp $
+
+ 05 Aug 2011; Naohiro Aota <naota@gentoo.org> tcl-8.5.9.ebuild,
+ +files/tcl-8.5.9-gentoo-fbsd.patch:
+ Apply shared object versioning policy on Gentoo/FreeBSD. Bug 354067
23 Mar 2011; Kacper Kowalik <xarthisius@gentoo.org> tcl-8.5.9.ebuild:
ppc64 stable wrt #353854
diff --git a/dev-lang/tcl/files/tcl-8.5.9-gentoo-fbsd.patch b/dev-lang/tcl/files/tcl-8.5.9-gentoo-fbsd.patch
new file mode 100644
index 000000000000..022d81d3e261
--- /dev/null
+++ b/dev-lang/tcl/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-*)
diff --git a/dev-lang/tcl/tcl-8.5.9.ebuild b/dev-lang/tcl/tcl-8.5.9.ebuild
index ea1565c14d50..af33196a68e9 100644
--- a/dev-lang/tcl/tcl-8.5.9.ebuild
+++ b/dev-lang/tcl/tcl-8.5.9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/tcl-8.5.9.ebuild,v 1.8 2011/03/23 19:05:10 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/tcl-8.5.9.ebuild,v 1.9 2011/08/05 08:20:20 naota Exp $
EAPI="3"
@@ -37,6 +37,9 @@ src_prepare() {
# Bug 125971
epatch "${FILESDIR}"/${PN}-8.5_alpha6-tclm4-soname.patch
+ # Bug 354067
+ epatch "${FILESDIR}"/${PN}-8.5.9-gentoo-fbsd.patch
+
cd "${S}"/unix
eautoreconf
}