summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2010-06-29 06:22:10 +0000
committerMaciej Mrozowski <reavertm@gentoo.org>2010-06-29 06:22:10 +0000
commite2c13bd64eb925b35aab1fb76d922a6785266c1c (patch)
tree354326a49d980db499de1ade3c3f78c88d4ffae8 /media-libs/simage/simage-1.7.0.ebuild
parentMade the python dependency vice versa so that the 2.6 slot comes first. (diff)
downloadhistorical-e2c13bd64eb925b35aab1fb76d922a6785266c1c.tar.gz
historical-e2c13bd64eb925b35aab1fb76d922a6785266c1c.tar.bz2
historical-e2c13bd64eb925b35aab1fb76d922a6785266c1c.zip
Remove excessive linking in pkgconfig (move link deps to Libs.private)
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'media-libs/simage/simage-1.7.0.ebuild')
-rw-r--r--media-libs/simage/simage-1.7.0.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/media-libs/simage/simage-1.7.0.ebuild b/media-libs/simage/simage-1.7.0.ebuild
index f4ea2cf24f06..0f56df933be7 100644
--- a/media-libs/simage/simage-1.7.0.ebuild
+++ b/media-libs/simage/simage-1.7.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/simage/simage-1.7.0.ebuild,v 1.1 2010/06/25 23:17:24 reavertm Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/simage/simage-1.7.0.ebuild,v 1.2 2010/06/29 06:22:10 reavertm Exp $
EAPI=2
@@ -34,6 +34,10 @@ DEPEND="${RDEPEND}
DOCS=(AUTHORS ChangeLog NEWS README)
+PATCHES=(
+ "${FILESDIR}/${PN}-1.7.0-pkgconfig-partial.patch"
+)
+
# --with-pic, two defined (PIC and one for image format, sillyt), no not pass
# --enable-qimage, broken Qt checks, unable to locate FHS-compliant Qt install
# --with-x, not used anywhere
@@ -61,7 +65,11 @@ src_configure() {
}
src_install() {
+ # Remove simage from Libs.private
+ sed -e '/Libs.private/s/ -lsimage//' -i simage.pc || die
+
base_src_install
+
# Remove libtool files when not needed.
use static-libs || rm -f "${D}"/usr/lib*/*.la
}