diff options
author | Jason Wever <weeve@gentoo.org> | 2003-01-15 02:40:15 +0000 |
---|---|---|
committer | Jason Wever <weeve@gentoo.org> | 2003-01-15 02:40:15 +0000 |
commit | a492eacba580f0960d9c6b4c16fa783ccef1d426 (patch) | |
tree | 5d5f801abc21dfa181198605b051c9eeea0620b0 /dev-libs | |
parent | setup PATH just in case ... (diff) | |
download | gentoo-2-a492eacba580f0960d9c6b4c16fa783ccef1d426.tar.gz gentoo-2-a492eacba580f0960d9c6b4c16fa783ccef1d426.tar.bz2 gentoo-2-a492eacba580f0960d9c6b4c16fa783ccef1d426.zip |
Removed --enable-mpfr from configure options for sparc only as with it enabled, gmp would not compile on sparc.
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/gmp/ChangeLog | 6 | ||||
-rw-r--r-- | dev-libs/gmp/gmp-4.1-r1.ebuild | 20 |
2 files changed, 19 insertions, 7 deletions
diff --git a/dev-libs/gmp/ChangeLog b/dev-libs/gmp/ChangeLog index 5556e5fd9c65..3027cdce8efb 100644 --- a/dev-libs/gmp/ChangeLog +++ b/dev-libs/gmp/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/gmp # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/ChangeLog,v 1.11 2002/12/17 22:55:48 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/ChangeLog,v 1.12 2003/01/15 02:40:15 weeve Exp $ + + 14 Jan 2003: Jason Wever <weeve@gentoo.org> gmp-4.1-r1.ebuild : + Removed --enable-mpfr from configure options for sparc only as with it enabled, + gmp would not compile on sparc. 17 Dec 2002; Aron Griffis <agriffis@gentoo.org> gmp-4.1-r1.ebuild : Added ~alpha to KEYWORDS diff --git a/dev-libs/gmp/gmp-4.1-r1.ebuild b/dev-libs/gmp/gmp-4.1-r1.ebuild index 90ecc1c6aa8f..69f0e6d45108 100644 --- a/dev-libs/gmp/gmp-4.1-r1.ebuild +++ b/dev-libs/gmp/gmp-4.1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/gmp-4.1-r1.ebuild,v 1.10 2002/12/17 22:55:48 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/gmp-4.1-r1.ebuild,v 1.11 2003/01/15 02:40:15 weeve Exp $ DESCRIPTION="Library for arithmetic on arbitrary precision integers, rational numbers, and floating-point numbers" SRC_URI="ftp://prep.ai.mit.edu/gnu/gmp/${P}.tar.gz" @@ -21,11 +21,19 @@ src_unpack() { } src_compile() { - econf \ - --localstatedir=/var/state/gmp \ - --enable-cxx \ - --enable-mpbsd \ - --enable-mpfr || die "configure failed" + if [ "${ARCH}" = "sparc" ] + then + econf \ + --localstatedir=/var/state/gmp \ + --enable-cxx \ + --enable-mpbsd || die "configure failed" + else + econf \ + --localstatedir=/var/state/gmp \ + --enable-cxx \ + --enable-mpbsd \ + --enable-mpfr || die "configure failed" + fi make || die "make failed" } |