diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-01-03 10:21:17 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-01-03 10:21:17 +0000 |
commit | af3c9944aba6396847826175d695c3b66f69b38b (patch) | |
tree | 057fb2536dcffb5036fcc7150af107020c051f3f /dev-libs/gmp/gmp-5.0.2_p1.ebuild | |
parent | Initial commit. (diff) | |
download | historical-af3c9944aba6396847826175d695c3b66f69b38b.tar.gz historical-af3c9944aba6396847826175d695c3b66f69b38b.tar.bz2 historical-af3c9944aba6396847826175d695c3b66f69b38b.zip |
Mung the libgmp.la references in libgmpxx.la #397389 by David Leverton.
Package-Manager: portage-2.2.0_alpha81/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/gmp/gmp-5.0.2_p1.ebuild')
-rw-r--r-- | dev-libs/gmp/gmp-5.0.2_p1.ebuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-libs/gmp/gmp-5.0.2_p1.ebuild b/dev-libs/gmp/gmp-5.0.2_p1.ebuild index 56e59e84e994..1b80ecace14a 100644 --- a/dev-libs/gmp/gmp-5.0.2_p1.ebuild +++ b/dev-libs/gmp/gmp-5.0.2_p1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/gmp-5.0.2_p1.ebuild,v 1.9 2012/01/01 18:37:30 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/gmp-5.0.2_p1.ebuild,v 1.10 2012/01/03 10:21:17 vapier Exp $ inherit flag-o-matic eutils libtool toolchain-funcs @@ -81,7 +81,10 @@ src_install() { # should be a standalone lib rm -f "${D}"/usr/$(get_libdir)/libgmp.la # this requires libgmp - use static-libs || rm -f "${D}"/usr/$(get_libdir)/libgmpxx.la + local la="${D}/usr/$(get_libdir)/libgmpxx.la" + use static-libs \ + && sed -i 's:/[^ ]*/libgmp.la:-lgmp:' "${la}" \ + || rm -f "${la}" dodoc AUTHORS ChangeLog NEWS README dodoc doc/configuration doc/isa_abi_headache |