summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-12-13 01:35:35 +0000
committerMike Frysinger <vapier@gentoo.org>2004-12-13 01:35:35 +0000
commitfe3249bc32346d07d0622cefc269557c0ba7f101 (patch)
tree7da549e4734414628342b703bac214fd6221a980 /dev-libs/gmp
parentUse toolchain eclass. (diff)
downloadhistorical-fe3249bc32346d07d0622cefc269557c0ba7f101.tar.gz
historical-fe3249bc32346d07d0622cefc269557c0ba7f101.tar.bz2
historical-fe3249bc32346d07d0622cefc269557c0ba7f101.zip
x86 stable and touch up the autoconf code to only run on ppc64 #74246
Diffstat (limited to 'dev-libs/gmp')
-rw-r--r--dev-libs/gmp/Manifest22
-rw-r--r--dev-libs/gmp/gmp-4.1.4.ebuild50
2 files changed, 36 insertions, 36 deletions
diff --git a/dev-libs/gmp/Manifest b/dev-libs/gmp/Manifest
index 0455bfeae0af..c8c9442cb0b7 100644
--- a/dev-libs/gmp/Manifest
+++ b/dev-libs/gmp/Manifest
@@ -1,12 +1,22 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 1ac7654edb9e360ea326daaf01791d72 ChangeLog 5806
MD5 d22540aebff95404322039a0d529dab1 gmp-4.1.2.ebuild 1440
-MD5 b48deba3a8676a2678dc947ff68f3b44 gmp-4.1.3.ebuild 1843
MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160
-MD5 8b1067969eb47035c29140d347176bae gmp-4.1.4.ebuild 1933
-MD5 1ac7654edb9e360ea326daaf01791d72 ChangeLog 5806
-MD5 265f53218c05ee4ac1192b1fee5d5038 files/digest-gmp-4.1.2 62
+MD5 b48deba3a8676a2678dc947ff68f3b44 gmp-4.1.3.ebuild 1843
+MD5 678f18282db2f6bc8e44f25ed12e3148 gmp-4.1.4.ebuild 1662
MD5 5e16de635136241e3ca3d414a8e1d181 files/digest-gmp-4.1.3 62
-MD5 8c7f521cf77fb56ab019223cf92a6bca files/digest-gmp-4.1.4 62
+MD5 265f53218c05ee4ac1192b1fee5d5038 files/digest-gmp-4.1.2 62
MD5 d646f32e97b41529d4ab5066c69bc856 files/longlong.patch 473
-MD5 d70b080c2f0efd82a800ba8a1af7b305 files/ppc64-gmp-acinclude.patch 474
MD5 8458ecf3c3c6b27f949d1b1c1e6a9cc7 files/randraw.c.41.diff 585
+MD5 d70b080c2f0efd82a800ba8a1af7b305 files/ppc64-gmp-acinclude.patch 474
+MD5 8c7f521cf77fb56ab019223cf92a6bca files/digest-gmp-4.1.4 62
MD5 1dbc1772df649dae89ad8e00042c5b46 files/amd64.patch 1166
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.9.10 (GNU/Linux)
+
+iD8DBQFBvPH/roRuSHgZdywRAqr6AJ9RNfd7KuJArmjRzc0Nn4+qCmhKqQCfZp/E
+E1MY6XVkyiJjrKPQzLyda6c=
+=oUu2
+-----END PGP SIGNATURE-----
diff --git a/dev-libs/gmp/gmp-4.1.4.ebuild b/dev-libs/gmp/gmp-4.1.4.ebuild
index 2fbc0b37d5ee..bba18dff2046 100644
--- a/dev-libs/gmp/gmp-4.1.4.ebuild
+++ b/dev-libs/gmp/gmp-4.1.4.ebuild
@@ -1,46 +1,47 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/gmp-4.1.4.ebuild,v 1.4 2004/11/28 11:13:49 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/gmp-4.1.4.ebuild,v 1.5 2004/12/13 01:35:35 vapier Exp $
inherit flag-o-matic libtool eutils
DESCRIPTION="Library for arithmetic on arbitrary precision integers, rational numbers, and floating-point numbers"
-HOMEPAGE="http://www.gnu.org/software/gmp/gmp.html"
SRC_URI="mirror://gnu/gmp/${P}.tar.gz"
-RESTRICT="nomirror"
+HOMEPAGE="http://www.gnu.org/software/gmp/gmp.html"
+
LICENSE="LGPL-2"
SLOT="0"
-KEYWORDS="~x86 ppc ~sparc mips ~alpha arm hppa ~amd64 ia64 s390 ppc64"
+KEYWORDS="~alpha ~amd64 arm hppa ia64 mips ppc ppc64 s390 ~sparc x86"
IUSE="debug"
-DEPEND="sys-apps/gawk
+RDEPEND="virtual/libc"
+DEPEND="${RDEPEND}
+ sys-apps/gawk
sys-devel/bison
sys-devel/flex
sys-devel/libtool
- sys-devel/gcc
- virtual/libc"
-
-RDEPEND="virtual/libc"
+ sys-devel/gcc"
src_unpack () {
unpack ${A}
cd ${S}
-# This patch will actually be somewhat short lived as it's really
-# somewhat of a hack. The toolchain folks (alanm) have a set of patches
-# to remove the use of the '.' form in ppc64 assembler
- use ppc64 && epatch ${FILESDIR}/ppc64-gmp-acinclude.patch
+ # This patch will actually be somewhat short lived as it's really
+ # somewhat of a hack. The toolchain folks (alanm) have a set of patches
+ # to remove the use of the '.' form in ppc64 assembler
+ if use ppc64 ; then
+ epatch ${FILESDIR}/ppc64-gmp-acinclude.patch
+ autoreconf || die
+ fi
-# fix problems for -O3 or higher; bug #66780
+ # fix problems for -O3 or higher; bug #66780
use amd64 && epatch ${FILESDIR}/amd64.patch
- autoreconf
+
+ elibtoolize
}
src_compile() {
filter-flags -ffast-math
- elibtoolize
-
local myconf=""
use sparc || myconf="--enable-mpfr"
use hppa && export CHOST="hppa-unknown-linux-gnu"
@@ -56,7 +57,7 @@ src_compile() {
}
src_install() {
- emake DESTDIR=${D} install || die "make install failed"
+ make DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog NEWS README
dodoc doc/configuration doc/isa_abi_headache
@@ -64,16 +65,5 @@ src_install() {
}
src_test() {
-
-
- # It's pretty slow to run all the checks, and not really necessary
- # on every build of this package. Just run the checks when
- # debugging is enabled. (23 Feb 2003 agriffis)
- if use debug ; then
- emake check || die "make check failed"
- else
- # Quick partial test
- make -C tests/cxx/ check-TESTS
- fi
-
+ make check || die "make check failed"
}