summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-01-15 15:17:32 +0000
committerJustin Lecher <jlec@gentoo.org>2011-01-15 15:17:32 +0000
commita1ca2eb44b6003c4a94db0bf1385e30544e5ccb3 (patch)
treec24279f4a61e6d8e8c08dd98789c1e9fb546f334 /dev-tcltk/tdom
parentRemoved old (diff)
downloadgentoo-2-a1ca2eb44b6003c4a94db0bf1385e30544e5ccb3.tar.gz
gentoo-2-a1ca2eb44b6003c4a94db0bf1385e30544e5ccb3.tar.bz2
gentoo-2-a1ca2eb44b6003c4a94db0bf1385e30544e5ccb3.zip
Having a soname now
(Portage version: 2.2.0_alpha15/cvs/Linux x86_64)
Diffstat (limited to 'dev-tcltk/tdom')
-rw-r--r--dev-tcltk/tdom/ChangeLog6
-rw-r--r--dev-tcltk/tdom/files/tdom-0.8.2-soname.patch26
-rw-r--r--dev-tcltk/tdom/tdom-0.8.2.ebuild3
3 files changed, 33 insertions, 2 deletions
diff --git a/dev-tcltk/tdom/ChangeLog b/dev-tcltk/tdom/ChangeLog
index 74e10352a249..24eb2f9721db 100644
--- a/dev-tcltk/tdom/ChangeLog
+++ b/dev-tcltk/tdom/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-tcltk/tdom
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tdom/ChangeLog,v 1.6 2011/01/15 12:47:40 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tdom/ChangeLog,v 1.7 2011/01/15 15:17:32 jlec Exp $
+
+ 15 Jan 2011; Justin Lecher <jlec@gentoo.org> tdom-0.8.2.ebuild,
+ +files/tdom-0.8.2-soname.patch:
+ Having a soname now
15 Jan 2011; Justin Lecher <jlec@gentoo.org> tdom-0.8.2.ebuild:
Assigned RDEPEND explicitely, EAPI=3 some QA on ebuild style
diff --git a/dev-tcltk/tdom/files/tdom-0.8.2-soname.patch b/dev-tcltk/tdom/files/tdom-0.8.2-soname.patch
new file mode 100644
index 000000000000..3f0bc7e62a9d
--- /dev/null
+++ b/dev-tcltk/tdom/files/tdom-0.8.2-soname.patch
@@ -0,0 +1,26 @@
+diff --git a/Makefile.in b/Makefile.in
+index d995328..5c17e11 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -108,7 +108,7 @@ CFLAGS_DEFAULT = @CFLAGS_DEFAULT@
+ CFLAGS_WARNING = @CFLAGS_WARNING@
+ CLEANFILES = @CLEANFILES@
+ EXEEXT = @EXEEXT@
+-LDFLAGS_DEFAULT = @LDFLAGS_DEFAULT@
++LDFLAGS_DEFAULT = @LDFLAGS_DEFAULT@ -Wl,-soname,libdom$(PACKAGE_VERSION).so
+ MAKE_LIB = @MAKE_LIB@
+ MAKE_SHARED_LIB = @MAKE_SHARED_LIB@
+ MAKE_STATIC_LIB = @MAKE_STATIC_LIB@
+diff --git a/extensions/tnc/Makefile.in b/extensions/tnc/Makefile.in
+index f8a332c..01e0ef0 100644
+--- a/extensions/tnc/Makefile.in
++++ b/extensions/tnc/Makefile.in
+@@ -98,7 +98,7 @@ CFLAGS_DEFAULT = @CFLAGS_DEFAULT@
+ CFLAGS_WARNING = @CFLAGS_WARNING@
+ CLEANFILES = @CLEANFILES@
+ EXEEXT = @EXEEXT@
+-LDFLAGS_DEFAULT = @LDFLAGS_DEFAULT@
++LDFLAGS_DEFAULT = @LDFLAGS_DEFAULT@ -Wl,-soname,libtnc$(PACKAGE_VERSION).so
+ MAKE_LIB = @MAKE_LIB@
+ MAKE_SHARED_LIB = @MAKE_SHARED_LIB@
+ MAKE_STATIC_LIB = @MAKE_STATIC_LIB@
diff --git a/dev-tcltk/tdom/tdom-0.8.2.ebuild b/dev-tcltk/tdom/tdom-0.8.2.ebuild
index bf0994f5ce1b..1631418ee98d 100644
--- a/dev-tcltk/tdom/tdom-0.8.2.ebuild
+++ b/dev-tcltk/tdom/tdom-0.8.2.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-tcltk/tdom/tdom-0.8.2.ebuild,v 1.3 2011/01/15 12:47:40 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tdom/tdom-0.8.2.ebuild,v 1.4 2011/01/15 15:17:32 jlec Exp $
EAPI="3"
@@ -27,6 +27,7 @@ S="${WORKDIR}/${MY_P}"
src_prepare() {
epatch \
"${FILESDIR}/${P}.patch" \
+ "${FILESDIR}/${P}-soname.patch" \
"${FILESDIR}/${P}-expat.patch" \
"${FILESDIR}/${P}-tnc.patch"
eautoreconf