summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2007-01-20 22:32:54 +0000
committerKeri Harris <keri@gentoo.org>2007-01-20 22:32:54 +0000
commitb7c563f9e251d104ce6b56ee9e0e9c0b43388c60 (patch)
tree7c4b9fd5b5096dfd23e4b594c355721e46536fb3 /dev-lang/yap
parentversion bump as per bug #161806 (diff)
downloadgentoo-2-b7c563f9e251d104ce6b56ee9e0e9c0b43388c60.tar.gz
gentoo-2-b7c563f9e251d104ce6b56ee9e0e9c0b43388c60.tar.bz2
gentoo-2-b7c563f9e251d104ce6b56ee9e0e9c0b43388c60.zip
Generate soname for installed lib.
(Portage version: 2.1.2-r1)
Diffstat (limited to 'dev-lang/yap')
-rw-r--r--dev-lang/yap/ChangeLog6
-rw-r--r--dev-lang/yap/files/yap-5.1.1-SONAME.patch11
-rw-r--r--dev-lang/yap/yap-5.1.1.ebuild3
3 files changed, 18 insertions, 2 deletions
diff --git a/dev-lang/yap/ChangeLog b/dev-lang/yap/ChangeLog
index 7e9e0c6ad8e7..aff632da9d85 100644
--- a/dev-lang/yap/ChangeLog
+++ b/dev-lang/yap/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/yap
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/yap/ChangeLog,v 1.8 2007/01/20 20:56:56 keri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/yap/ChangeLog,v 1.9 2007/01/20 22:32:54 keri Exp $
+
+ 20 Jan 2007; keri <keri@gentoo.org> +files/yap-5.1.1-SONAME.patch,
+ yap-5.1.1.ebuild:
+ Generate soname for installed lib.
20 Jan 2007; keri <keri@gentoo.org> files/yap-5.1.1-multilib.patch,
yap-5.1.1.ebuild:
diff --git a/dev-lang/yap/files/yap-5.1.1-SONAME.patch b/dev-lang/yap/files/yap-5.1.1-SONAME.patch
new file mode 100644
index 000000000000..5f1d5a1d6288
--- /dev/null
+++ b/dev-lang/yap/files/yap-5.1.1-SONAME.patch
@@ -0,0 +1,11 @@
+--- Yap-5.1.1.orig/Makefile.in 2006-04-13 23:34:33.000000000 +1200
++++ Yap-5.1.1/Makefile.in 2007-01-21 10:52:46.000000000 +1300
+@@ -527,7 +527,7 @@
+ $(RANLIB) libYap.a
+
+ @IN_UNIX@@DO_SECOND_LD@libYap@SHLIB_SUFFIX@: $(LIB_OBJECTS)
+-@IN_UNIX@@DO_SECOND_LD@ @SHLIB_LD@ -o libYap@SHLIB_SUFFIX@ $(LIB_OBJECTS) $(LIBS)
++@IN_UNIX@@DO_SECOND_LD@ @SHLIB_LD@ -soname=$@ -o libYap@SHLIB_SUFFIX@ $(LIB_OBJECTS) $(LIBS)
+
+ install: install_bin install_data
+
diff --git a/dev-lang/yap/yap-5.1.1.ebuild b/dev-lang/yap/yap-5.1.1.ebuild
index 1aab233be2c6..01dc31ff7889 100644
--- a/dev-lang/yap/yap-5.1.1.ebuild
+++ b/dev-lang/yap/yap-5.1.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/yap/yap-5.1.1.ebuild,v 1.5 2007/01/20 20:56:56 keri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/yap/yap-5.1.1.ebuild,v 1.6 2007/01/20 22:32:54 keri Exp $
inherit autotools eutils
@@ -32,6 +32,7 @@ src_unpack() {
cd "${S}"
epatch "${FILESDIR}"/${P}-configure.patch
epatch "${FILESDIR}"/${P}-multilib.patch
+ epatch "${FILESDIR}"/${P}-SONAME.patch
epatch "${FILESDIR}"/${P}-analyst.patch
epatch "${FILESDIR}"/${P}-myddas.patch
epatch "${FILESDIR}"/${P}-tabling.patch