summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-04-24 19:43:57 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-04-24 19:43:57 +0000
commit30a91af80ba4122618640861a7445d7333ccb8a4 (patch)
treee9ac45625a1e79ba846d4b45fd67da84b8ff5af2 /sys-libs
parentAdd Prefix keywords, bug #410239 (diff)
downloadgentoo-2-30a91af80ba4122618640861a7445d7333ccb8a4.tar.gz
gentoo-2-30a91af80ba4122618640861a7445d7333ccb8a4.tar.bz2
gentoo-2-30a91af80ba4122618640861a7445d7333ccb8a4.zip
Install missing SONAME symlink(s) for libofdt and librtas.
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/librtas/ChangeLog6
-rw-r--r--sys-libs/librtas/files/librtas-1.3.6-symlink.patch24
-rw-r--r--sys-libs/librtas/librtas-1.3.6.ebuild14
3 files changed, 36 insertions, 8 deletions
diff --git a/sys-libs/librtas/ChangeLog b/sys-libs/librtas/ChangeLog
index 42f10545d25d..8afc0354ce95 100644
--- a/sys-libs/librtas/ChangeLog
+++ b/sys-libs/librtas/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-libs/librtas
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/librtas/ChangeLog,v 1.15 2012/04/22 12:39:33 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/librtas/ChangeLog,v 1.16 2012/04/24 19:43:57 ssuominen Exp $
+
+ 24 Apr 2012; Samuli Suominen <ssuominen@gentoo.org> librtas-1.3.6.ebuild,
+ +files/librtas-1.3.6-symlink.patch:
+ Install missing SONAME symlink(s) for libofdt and librtas.
*librtas-1.3.6 (22 Apr 2012)
diff --git a/sys-libs/librtas/files/librtas-1.3.6-symlink.patch b/sys-libs/librtas/files/librtas-1.3.6-symlink.patch
new file mode 100644
index 000000000000..f9536f427492
--- /dev/null
+++ b/sys-libs/librtas/files/librtas-1.3.6-symlink.patch
@@ -0,0 +1,24 @@
+QA Notice: Missing soname symlink(s):
+usr/lib64/libofdt.so.1 -> libofdt.so.1.3.6
+usr/lib64/librtas.so.1 -> librtas.so.1.3.6
+
+--- libofdt_src/Makefile
++++ libofdt_src/Makefile
+@@ -27,6 +27,7 @@
+ @$(call install_lib,$(LIBOFDT),$(DESTDIR))
+ @$(call install_inc,$(LIBOFDT_SHIP_HDR),$(DESTDIR))
+ @ln -sf $(LIBOFDT) $(DESTDIR)/$(LIB_DIR)$(call is_lib64,$(LIBOFDT))/$(LIBOFDT_SONAME)
++ @ln -sf $(LIBOFDT) $(DESTDIR)/$(LIB_DIR)$(call is_lib64,$(LIBOFDT))/$(LIBOFDT_SONAME).1
+
+ uninstall:
+ @$(call uninstall_lib,$(LIBOFDT),$(DESTDIR))
+--- librtas_src/Makefile
++++ librtas_src/Makefile
+@@ -33,6 +33,7 @@
+ @$(call install_lib,$(LIBRTAS),$(DESTDIR))
+ @$(call install_inc,$(HEADERS),$(DESTDIR))
+ @ln -sf $(LIBRTAS) $(DESTDIR)/$(LIB_DIR)$(call is_lib64,$(LIBRTAS))/$(LIBRTAS_SONAME)
++ @ln -sf $(LIBRTAS) $(DESTDIR)/$(LIB_DIR)$(call is_lib64,$(LIBRTAS))/$(LIBRTAS_SONAME).1
+
+ uninstall:
+ @$(call uninstall_lib,$(LIBRTAS),$(DESTDIR))
diff --git a/sys-libs/librtas/librtas-1.3.6.ebuild b/sys-libs/librtas/librtas-1.3.6.ebuild
index 15049cadcfc4..059ebf45c233 100644
--- a/sys-libs/librtas/librtas-1.3.6.ebuild
+++ b/sys-libs/librtas/librtas-1.3.6.ebuild
@@ -1,19 +1,19 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/librtas/librtas-1.3.6.ebuild,v 1.1 2012/04/22 12:39:34 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/librtas/librtas-1.3.6.ebuild,v 1.2 2012/04/24 19:43:57 ssuominen Exp $
+EAPI=4
inherit eutils
DESCRIPTION=" Librtas provides a set of libraries for user-space access to RTAS on the ppc64 architecture."
-SRC_URI="http://sourceforge.net/projects/librtas/files//librtas-${PV}.tar.gz"
HOMEPAGE="http://sourceforge.net/projects/librtas/"
+SRC_URI="mirror://sourceforge/${P}.tar.gz"
-SLOT="0"
LICENSE="IBM"
+SLOT="0"
KEYWORDS="~ppc ~ppc64"
IUSE=""
-src_install() {
- emake DESTDIR="${D}" install || die
- dodoc README
-}
+DOCS="README"
+
+src_prepare() { epatch "${FILESDIR}"/${P}-symlink.patch; }