diff options
author | Maciej Mrozowski <reavertm@gentoo.org> | 2010-06-29 06:29:26 +0000 |
---|---|---|
committer | Maciej Mrozowski <reavertm@gentoo.org> | 2010-06-29 06:29:26 +0000 |
commit | 5725ed6df44305a3bf1a6759b58b67f0aabcd68f (patch) | |
tree | 328586e6ad89672b3fa3b5f3a099d6ac3e09ba8e /media-libs/coin | |
parent | Remove excessive linking in pkgconfig (move link deps to Libs.private) (diff) | |
download | gentoo-2-5725ed6df44305a3bf1a6759b58b67f0aabcd68f.tar.gz gentoo-2-5725ed6df44305a3bf1a6759b58b67f0aabcd68f.tar.bz2 gentoo-2-5725ed6df44305a3bf1a6759b58b67f0aabcd68f.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/coin')
-rw-r--r-- | media-libs/coin/ChangeLog | 6 | ||||
-rw-r--r-- | media-libs/coin/coin-3.1.3-r1.ebuild | 6 | ||||
-rw-r--r-- | media-libs/coin/files/coin-3.1.3-pkgconfig-partial.patch | 13 |
3 files changed, 23 insertions, 2 deletions
diff --git a/media-libs/coin/ChangeLog b/media-libs/coin/ChangeLog index 53c44e3b31b2..fefe1370ec96 100644 --- a/media-libs/coin/ChangeLog +++ b/media-libs/coin/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/coin # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/coin/ChangeLog,v 1.36 2010/06/27 05:37:07 reavertm Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/coin/ChangeLog,v 1.37 2010/06/29 06:29:26 reavertm Exp $ + + 29 Jun 2010; Maciej Mrozowski <reavertm@gentoo.org> coin-3.1.3-r1.ebuild, + +files/coin-3.1.3-pkgconfig-partial.patch: + Remove excessive linking in pkgconfig (move link deps to Libs.private) 27 Jun 2010; Maciej Mrozowski <reavertm@gentoo.org> coin-3.1.3-r1.ebuild: Add note about expat unbundling being broken, remove expat workaround (as diff --git a/media-libs/coin/coin-3.1.3-r1.ebuild b/media-libs/coin/coin-3.1.3-r1.ebuild index 9f9c74a52ad4..a08a7bcc2fde 100644 --- a/media-libs/coin/coin-3.1.3-r1.ebuild +++ b/media-libs/coin/coin-3.1.3-r1.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/coin/coin-3.1.3-r1.ebuild,v 1.2 2010/06/27 05:37:07 reavertm Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/coin/coin-3.1.3-r1.ebuild,v 1.3 2010/06/29 06:29:26 reavertm Exp $ EAPI=2 @@ -48,6 +48,7 @@ DOCS=( PATCHES=( "${FILESDIR}/${PN}-3.1.0-javascript.patch" + "${FILESDIR}/${PN}-3.1.3-pkgconfig-partial.patch" ) src_configure() { @@ -88,6 +89,9 @@ src_configure() { } src_install() { + # Remove Coin from Libs.private + sed -e '/Libs.private/s/ -lCoin//' -i Coin.pc || die + base_src_install # Remove libtool files when not needed. diff --git a/media-libs/coin/files/coin-3.1.3-pkgconfig-partial.patch b/media-libs/coin/files/coin-3.1.3-pkgconfig-partial.patch new file mode 100644 index 000000000000..a6dc1fa5f1e2 --- /dev/null +++ b/media-libs/coin/files/coin-3.1.3-pkgconfig-partial.patch @@ -0,0 +1,13 @@ +diff -ru ../Coin-3.1.3/Coin.pc.in ./Coin.pc.in +--- ../Coin-3.1.3/Coin.pc.in 2010-03-02 14:20:09.000000000 +0100 ++++ ./Coin.pc.in 2010-06-28 19:27:59.634534460 +0200 +@@ -10,7 +10,8 @@ + Version: @COIN_VERSION@ + Requires: + Conflicts: +-Libs: -L${libdir} @COIN_EXTRA_LDFLAGS@ @COIN_EXTRA_LIBS@ ++Libs: -L${libdir} -lCoin ++Libs.private: -L${libdir} @COIN_EXTRA_LIBS@ + Cflags: -I${includedir} @COIN_EXTRA_CFLAGS@ @COIN_EXTRA_CPPFLAGS@ + + coin_host=@host@ |