From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2C1F813888F for ; Sat, 24 Oct 2015 16:18:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B0A97E07F9; Sat, 24 Oct 2015 16:18:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 447D5E07F9 for ; Sat, 24 Oct 2015 16:18:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3C63F340A69 for ; Sat, 24 Oct 2015 16:18:45 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4AACC17B1 for ; Sat, 24 Oct 2015 16:18:42 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1445703516.e95251b4046a598d0b4b8520d54e05f5beded570.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/gmp/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/gmp/gmp-4.3.2-r1.ebuild X-VCS-Directories: dev-libs/gmp/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: e95251b4046a598d0b4b8520d54e05f5beded570 X-VCS-Branch: master Date: Sat, 24 Oct 2015 16:18:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: fc643040-060d-4223-883a-0768520845d7 X-Archives-Hash: a44de462a50fefadcb1a40a2166ca3b7 commit: e95251b4046a598d0b4b8520d54e05f5beded570 Author: Mike Frysinger gentoo org> AuthorDate: Sat Oct 24 16:18:21 2015 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Sat Oct 24 16:18:36 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e95251b4 dev-libs/gmp: add multilib logic to older SLOT #563886 dev-libs/gmp/gmp-4.3.2-r1.ebuild | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dev-libs/gmp/gmp-4.3.2-r1.ebuild b/dev-libs/gmp/gmp-4.3.2-r1.ebuild index 94a2563..49e2f0c 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 }