summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kahle <tomka@gentoo.org>2011-08-15 09:22:11 +0000
committerThomas Kahle <tomka@gentoo.org>2011-08-15 09:22:11 +0000
commited36ee874f8fcfcf6a318cde5f6e21f35ab5a675 (patch)
treee6c45cd37b9b13c8bd3e41eff01f160451424bcf /sci-libs/mpir
parentTested on x86, adding keyword (diff)
downloadgentoo-2-ed36ee874f8fcfcf6a318cde5f6e21f35ab5a675.tar.gz
gentoo-2-ed36ee874f8fcfcf6a318cde5f6e21f35ab5a675.tar.bz2
gentoo-2-ed36ee874f8fcfcf6a318cde5f6e21f35ab5a675.zip
use autotools-utils.eclass
(Portage version: 2.1.10.10/cvs/Linux i686)
Diffstat (limited to 'sci-libs/mpir')
-rw-r--r--sci-libs/mpir/ChangeLog5
-rw-r--r--sci-libs/mpir/mpir-2.4.0.ebuild15
2 files changed, 12 insertions, 8 deletions
diff --git a/sci-libs/mpir/ChangeLog b/sci-libs/mpir/ChangeLog
index 931fea931571..d8cff7d02fba 100644
--- a/sci-libs/mpir/ChangeLog
+++ b/sci-libs/mpir/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-libs/mpir
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/mpir/ChangeLog,v 1.9 2011/08/07 01:23:20 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/mpir/ChangeLog,v 1.10 2011/08/15 09:22:11 tomka Exp $
+
+ 15 Aug 2011; Thomas Kahle <tomka@gentoo.org> mpir-2.4.0.ebuild:
+ use autotools-utils.eclass
*mpir-2.4.0 (07 Aug 2011)
diff --git a/sci-libs/mpir/mpir-2.4.0.ebuild b/sci-libs/mpir/mpir-2.4.0.ebuild
index dfafe2fb349f..39a25e7cde18 100644
--- a/sci-libs/mpir/mpir-2.4.0.ebuild
+++ b/sci-libs/mpir/mpir-2.4.0.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/mpir/mpir-2.4.0.ebuild,v 1.1 2011/08/07 01:23:20 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/mpir/mpir-2.4.0.ebuild,v 1.2 2011/08/15 09:22:11 tomka Exp $
EAPI=4
-inherit eutils autotools
+inherit eutils autotools-utils
DESCRIPTION="Library for arbitrary precision integer arithmetic derived from version 4.2.1 of gmp"
HOMEPAGE="http://www.mpir.org/"
@@ -23,11 +23,11 @@ src_prepare(){
epatch \
"${FILESDIR}/${PN}-2.2.0-yasm.patch" \
"${FILESDIR}/${PN}-1.3.0-ABI-multilib.patch"
+
# In the same way there was QA regarding executable stacks
# with GMP we have some here as well. We cannot apply the
# GMP solution as yasm is used, at least on x86/amd64.
# Furthermore we are able to patch config.ac.
-
ebegin "Patching assembler files to remove executable sections"
local i
for i in $(find . -type f -name '*.asm') ; do
@@ -52,9 +52,10 @@ src_prepare(){
src_configure() {
# beware that cpudetection aka fat binaries is x86/amd64 only.
# Place mpir in profiles/arch/$arch/package.use.mask when making it available on $arch.
- econf \
- $(use_enable cxx) \
- $(use_enable cpudetection fat) \
+ myeconfargs=(
+ $(use_enable cxx)
+ $(use_enable cpudetection fat)
$(use_enable static-libs static)
-
+ )
+ autotools-utils_src_configure
}