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
commit49c99cc817e08ff23919a3c3d896b8261a25164c (patch)
treeeebd9f71ee33c9c9509f489a9ebe9b078e115a3f /media-libs/simage/simage-1.7.0.ebuild
parentMade the python dependency vice versa so that the 2.6 slot comes first. (diff)
downloadgentoo-2-49c99cc817e08ff23919a3c3d896b8261a25164c.tar.gz
gentoo-2-49c99cc817e08ff23919a3c3d896b8261a25164c.tar.bz2
gentoo-2-49c99cc817e08ff23919a3c3d896b8261a25164c.zip
Remove excessive linking in pkgconfig (move link deps to Libs.private)
(Portage version: 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
}