From: Mike Frysinger Date: Sat, 24 Oct 2015 16:18:21 +0000 (-0400) Subject: dev-libs/gmp: add multilib logic to older SLOT #563886 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=e95251b4046a598d0b4b8520d54e05f5beded570;p=gentoo.git dev-libs/gmp: add multilib logic to older SLOT #563886 --- diff --git a/dev-libs/gmp/gmp-4.3.2-r1.ebuild b/dev-libs/gmp/gmp-4.3.2-r1.ebuild index 94a25632690c..49e2f0c1534e 100644 --- a/dev-libs/gmp/gmp-4.3.2-r1.ebuild +++ b/dev-libs/gmp/gmp-4.3.2-r1.ebuild @@ -4,9 +4,9 @@ # this ebuild is only for the libgmp.so.3 ABI SONAME -EAPI="3" +EAPI="5" -inherit eutils libtool toolchain-funcs +inherit eutils libtool toolchain-funcs multilib-minimal DESCRIPTION="Library for arithmetic on arbitrary precision integers, rational numbers, and floating-point numbers" HOMEPAGE="http://gmplib.org/" @@ -37,7 +37,7 @@ src_prepare() { chmod a+rx configure } -src_configure() { +multilib_src_configure() { # Because of our 32-bit userland, 1.0 is the only HPPA ABI that works # http://gmplib.org/manual/ABI-and-ISA.html#ABI-and-ISA (bug #344613) if [[ ${CHOST} == hppa2.0-* ]] ; then @@ -53,7 +53,7 @@ src_configure() { export GMPABI tc-export CC - econf \ + ECONF_SOURCE="${S}" econf \ --localstatedir=/var/state/gmp \ --disable-mpfr \ --disable-mpbsd \ @@ -61,7 +61,7 @@ src_configure() { --disable-cxx } -src_install() { - emake install-libLTLIBRARIES DESTDIR="${D}" || die +multilib_src_install() { + emake DESTDIR="${D}" install-libLTLIBRARIES rm "${D}"/usr/*/libgmp.{la,so} || die }