summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-07-09 22:54:27 +0000
committerMike Frysinger <vapier@gentoo.org>2010-07-09 22:54:27 +0000
commitd2742e50794888ec4c35b112ebec95db7a1c803e (patch)
tree2849a9c0f1004b1e74305010b3b75df603e6e67d /dev-libs/gmp
parentDelete older ebuild. (diff)
downloadgentoo-2-d2742e50794888ec4c35b112ebec95db7a1c803e.tar.gz
gentoo-2-d2742e50794888ec4c35b112ebec95db7a1c803e.tar.bz2
gentoo-2-d2742e50794888ec4c35b112ebec95db7a1c803e.zip
Move elibtoolize up so it patches configure correctly #327091 by Alan Hourihane. Tweak wrapper syntax for crappy shells #327077 by vlad f halilov. Drop old mpfr configure option as it no longer exists.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/gmp')
-rw-r--r--dev-libs/gmp/ChangeLog7
-rw-r--r--dev-libs/gmp/gmp-5.0.1.ebuild15
2 files changed, 13 insertions, 9 deletions
diff --git a/dev-libs/gmp/ChangeLog b/dev-libs/gmp/ChangeLog
index 759585c79f0c..269827600cd8 100644
--- a/dev-libs/gmp/ChangeLog
+++ b/dev-libs/gmp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/gmp
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/ChangeLog,v 1.134 2010/07/04 21:08:07 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/ChangeLog,v 1.135 2010/07/09 22:54:27 vapier Exp $
+
+ 09 Jul 2010; Mike Frysinger <vapier@gentoo.org> gmp-5.0.1.ebuild:
+ Move elibtoolize up so it patches configure correctly #327091 by Alan
+ Hourihane. Tweak wrapper syntax for crappy shells #327077 by vlad f
+ halilov. Drop old mpfr configure option as it no longer exists.
04 Jul 2010; Mike Frysinger <vapier@gentoo.org> gmp-5.0.1.ebuild:
Move into unstable.
diff --git a/dev-libs/gmp/gmp-5.0.1.ebuild b/dev-libs/gmp/gmp-5.0.1.ebuild
index 29c16dd4a01b..e287b26e2e47 100644
--- a/dev-libs/gmp/gmp-5.0.1.ebuild
+++ b/dev-libs/gmp/gmp-5.0.1.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/dev-libs/gmp/gmp-5.0.1.ebuild,v 1.3 2010/07/04 21:08:07 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/gmp-5.0.1.ebuild,v 1.4 2010/07/09 22:54:27 vapier Exp $
inherit flag-o-matic eutils libtool flag-o-matic
@@ -21,17 +21,17 @@ src_unpack() {
epatch "${FILESDIR}"/${PN}-4.1.4-noexecstack.patch
epatch "${FILESDIR}"/${PN}-5.0.0-s390.diff
- # GMP uses the "ABI" env var during configure as does Gentoo (econf)
+ # note: we cannot run autotools here as gcc depends on this package
+ elibtoolize
+
+ # GMP uses the "ABI" env var during configure as does Gentoo (econf).
+ # So, to avoid patching the source constantly, wrap things up.
mv configure configure.wrapped || die
cat <<-\EOF > configure
#!/bin/sh
- export ABI=$GMPABI
- exec "${0}.wrapped" "$@"
+ exec env ABI="$GMPABI" "${0}.wrapped" "$@"
EOF
chmod a+rx configure
-
- # note: we cannot run autotools here as gcc depends on this package
- elibtoolize
}
src_compile() {
@@ -53,7 +53,6 @@ src_compile() {
tc-export CC
econf \
--localstatedir=/var/state/gmp \
- --disable-mpfr \
--disable-mpbsd \
$(use_enable !nocxx cxx) \
|| die "configure failed"