diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2005-01-27 21:14:06 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2005-01-27 21:14:06 +0000 |
commit | bb4e6cf93699559468b6fe4035a148bdcbbfd45c (patch) | |
tree | f1f9013debc90c6f38bcc416dba7494024f80f5e /dev-libs/gmp | |
parent | fixed DEPEND (diff) | |
download | historical-bb4e6cf93699559468b6fe4035a148bdcbbfd45c.tar.gz historical-bb4e6cf93699559468b6fe4035a148bdcbbfd45c.tar.bz2 historical-bb4e6cf93699559468b6fe4035a148bdcbbfd45c.zip |
Multilib fixes and libtoolize --copy --force. No bump since it just affects compilation.
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'dev-libs/gmp')
-rw-r--r-- | dev-libs/gmp/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/gmp/Manifest | 23 | ||||
-rw-r--r-- | dev-libs/gmp/files/gmp-4.1.4-multilib.patch | 101 | ||||
-rw-r--r-- | dev-libs/gmp/gmp-4.1.2.ebuild | 4 | ||||
-rw-r--r-- | dev-libs/gmp/gmp-4.1.3.ebuild | 4 | ||||
-rw-r--r-- | dev-libs/gmp/gmp-4.1.4.ebuild | 23 |
6 files changed, 141 insertions, 23 deletions
diff --git a/dev-libs/gmp/ChangeLog b/dev-libs/gmp/ChangeLog index e2966ef50e9a..69ce68ae33ff 100644 --- a/dev-libs/gmp/ChangeLog +++ b/dev-libs/gmp/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/gmp -# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/ChangeLog,v 1.46 2004/12/21 17:00:36 kloeri Exp $ +# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/ChangeLog,v 1.47 2005/01/27 21:14:06 eradicator Exp $ + + 27 Jan 2005; Jeremy Huddleston <eradicator@gentoo.org> + +files/gmp-4.1.4-multilib.patch, gmp-4.1.4.ebuild: + Multilib fixes and libtoolize --copy --force. No bump since it just affects + compilation. 21 Dec 2004; Bryan Ăstergaard <kloeri@gentoo.org> gmp-4.1.4.ebuild: Stable on alpha. diff --git a/dev-libs/gmp/Manifest b/dev-libs/gmp/Manifest index 72352f03c32b..d273baad1dd1 100644 --- a/dev-libs/gmp/Manifest +++ b/dev-libs/gmp/Manifest @@ -1,22 +1,23 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 1f75bde4db0506b6ac9d8323342ef9d3 gmp-4.1.4.ebuild 1659 -MD5 0f55705b20f9730202e830f16b9ea32a ChangeLog 6078 +MD5 755cdb64470f2dffb5c6eb3396360aa3 ChangeLog 6286 +MD5 7f0069e02ff9fe7cb4367728fb6fb6f7 gmp-4.1.2.ebuild 1444 +MD5 c9691db1294910d38441c83dd624900d gmp-4.1.3.ebuild 1847 +MD5 7a125d081f351ff4dc2d26d43c638c00 gmp-4.1.4.ebuild 1878 MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160 -MD5 d22540aebff95404322039a0d529dab1 gmp-4.1.2.ebuild 1440 -MD5 b48deba3a8676a2678dc947ff68f3b44 gmp-4.1.3.ebuild 1843 MD5 1dbc1772df649dae89ad8e00042c5b46 files/amd64.patch 1166 -MD5 5e16de635136241e3ca3d414a8e1d181 files/digest-gmp-4.1.3 62 MD5 265f53218c05ee4ac1192b1fee5d5038 files/digest-gmp-4.1.2 62 -MD5 d646f32e97b41529d4ab5066c69bc856 files/longlong.patch 473 +MD5 5e16de635136241e3ca3d414a8e1d181 files/digest-gmp-4.1.3 62 MD5 8c7f521cf77fb56ab019223cf92a6bca files/digest-gmp-4.1.4 62 -MD5 8458ecf3c3c6b27f949d1b1c1e6a9cc7 files/randraw.c.41.diff 585 +MD5 d646f32e97b41529d4ab5066c69bc856 files/longlong.patch 473 MD5 d70b080c2f0efd82a800ba8a1af7b305 files/ppc64-gmp-acinclude.patch 474 +MD5 8458ecf3c3c6b27f949d1b1c1e6a9cc7 files/randraw.c.41.diff 585 +MD5 ee91d8f397ce79dd0ff7e4ae48a47b21 files/gmp-4.1.4-multilib.patch 2864 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.6 (GNU/Linux) +Version: GnuPG v1.4.0 (GNU/Linux) -iD8DBQFByFa/ugEuf3OQ0akRAkg3AKCHdnHpcUHvJuNPbG3sLt/7Ef+ZIQCeLWAb -1qMpFWi66AAwY7SN9/kDrew= -=+UDm +iD8DBQFB+VnFArHZZzCEUG0RAvlsAJ93KsujPJgp2DxeJYlskVsFcmmcigCeOAJ/ +p6Nape/Csq67w4piqlR3HKo= +=OEFk -----END PGP SIGNATURE----- diff --git a/dev-libs/gmp/files/gmp-4.1.4-multilib.patch b/dev-libs/gmp/files/gmp-4.1.4-multilib.patch new file mode 100644 index 000000000000..5ca49a9092bd --- /dev/null +++ b/dev-libs/gmp/files/gmp-4.1.4-multilib.patch @@ -0,0 +1,101 @@ +diff -Naurp gmp-4.1.4.orig/configure.in gmp-4.1.4/configure.in +--- gmp-4.1.4.orig/configure.in 2004-09-21 06:02:43.000000000 -0700 ++++ gmp-4.1.4/configure.in 2005-01-27 12:50:33.627680514 -0800 +@@ -291,7 +291,7 @@ esac], + # hugely bloat the output. + + +-AC_ARG_VAR(ABI, [desired ABI (for processors supporting more than one ABI)]) ++AC_ARG_VAR(GMPABI, [desired ABI (for processors supporting more than one ABI)]) + + # abilist needs to be non-empty, "standard" is just a generic name here + abilist="standard" +@@ -1081,7 +1081,7 @@ CPPFLAGS_or_unset=${CPPFLAGS-'(unset)'} + + cat >&AC_FD_CC <<EOF + configure:__line__: User: +-ABI=$ABI ++GMPABI=$GMPABI + CC=$CC + CFLAGS=$CFLAGS_or_unset + CPPFLAGS=$CPPFLAGS_or_unset +@@ -1102,15 +1102,15 @@ done + # If the user specifies an ABI then it must be in $abilist, after that + # $abilist is restricted to just that choice. + # +-if test -n "$ABI"; then ++if test -n "$GMPABI"; then + found=no + for abi in $abilist; do +- if test $abi = "$ABI"; then found=yes; break; fi ++ if test $abi = "$GMPABI"; then found=yes; break; fi + done + if test $found = no; then +- AC_MSG_ERROR([ABI=$ABI is not among the following valid choices: $abilist]) ++ AC_MSG_ERROR([GMPABI=$GMPABI is not among the following valid choices: $abilist]) + fi +- abilist="$ABI" ++ abilist="$GMPABI" + fi + + found_compiler=no +@@ -1311,14 +1311,14 @@ if test $found_compiler = yes; then + done + fi + +- ABI="$abi" ++ GMPABI="$abi" + CC="$cc" + CFLAGS="$cflags" + CPPFLAGS="$cppflags" + + + # Could easily have this in config.h too, if desired. +- ABI_nodots=`echo $ABI | sed 's/\./_/'` ++ ABI_nodots=`echo $GMPABI | sed 's/\./_/'` + GMP_DEFINE_RAW("define_not_for_expansion(\`HAVE_ABI_$ABI_nodots')", POST) + + +@@ -1480,7 +1480,7 @@ fi + + cat >&AC_FD_CC <<EOF + configure:__line__: Decided: +-ABI=$ABI ++GMPABI=$GMPABI + CC=$CC + CFLAGS=$CFLAGS + CPPFLAGS=$CPPFLAGS +@@ -1489,7 +1489,7 @@ CXX=$CXX + CXXFLAGS=$CXXFLAGS + path=$path + EOF +-echo "using ABI=\"$ABI\"" ++echo "using GMPABI=\"$GMPABI\"" + echo " CC=\"$CC\"" + echo " CFLAGS=\"$CFLAGS\"" + echo " CPPFLAGS=\"$CPPFLAGS\"" +@@ -2012,13 +2012,13 @@ if test "$gmp_asm_syntax_testing" != no; + GMP_INCLUDE_MPN(powerpc32/powerpc-defs.m4) + case $host in + powerpc*-*-aix*) +- case $ABI in ++ case $GMPABI in + 64 | aix64) GMP_INCLUDE_MPN(powerpc64/aix.m4) ;; + *) GMP_INCLUDE_MPN(powerpc32/aix.m4) ;; + esac + ;; + powerpc*-*-linux*) +- case $ABI in ++ case $GMPABI in + 64) GMP_INCLUDE_MPN(powerpc64/linux64.m4) ;; + esac + ;; +@@ -2028,7 +2028,7 @@ if test "$gmp_asm_syntax_testing" != no; + GMP_INCLUDE_MPN(powerpc32/aix.m4) + ;; + sparcv9*-*-* | ultrasparc*-*-* | sparc64-*-*) +- case $ABI in ++ case $GMPABI in + 64) + GMP_ASM_SPARC_REGISTER + ;; diff --git a/dev-libs/gmp/gmp-4.1.2.ebuild b/dev-libs/gmp/gmp-4.1.2.ebuild index 4095d27cedca..a72712e6bb3d 100644 --- a/dev-libs/gmp/gmp-4.1.2.ebuild +++ b/dev-libs/gmp/gmp-4.1.2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/gmp-4.1.2.ebuild,v 1.25 2004/09/23 04:46:04 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/gmp-4.1.2.ebuild,v 1.26 2005/01/27 21:14:06 eradicator Exp $ inherit flag-o-matic libtool eutils diff --git a/dev-libs/gmp/gmp-4.1.3.ebuild b/dev-libs/gmp/gmp-4.1.3.ebuild index 46892594cae4..b3d48efd7dc9 100644 --- a/dev-libs/gmp/gmp-4.1.3.ebuild +++ b/dev-libs/gmp/gmp-4.1.3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/gmp-4.1.3.ebuild,v 1.11 2004/11/06 02:11:08 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/gmp-4.1.3.ebuild,v 1.12 2005/01/27 21:14:06 eradicator Exp $ inherit flag-o-matic libtool eutils diff --git a/dev-libs/gmp/gmp-4.1.4.ebuild b/dev-libs/gmp/gmp-4.1.4.ebuild index 40639476500f..b79f21ecbc89 100644 --- a/dev-libs/gmp/gmp-4.1.4.ebuild +++ b/dev-libs/gmp/gmp-4.1.4.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 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.8 2004/12/21 17:00:36 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/gmp-4.1.4.ebuild,v 1.9 2005/01/27 21:14:06 eradicator Exp $ -inherit flag-o-matic libtool eutils +inherit flag-o-matic libtool eutils multilib DESCRIPTION="Library for arithmetic on arbitrary precision integers, rational numbers, and floating-point numbers" SRC_URI="mirror://gnu/gmp/${P}.tar.gz" @@ -30,13 +30,24 @@ src_unpack () { # 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 - use amd64 && epatch ${FILESDIR}/amd64.patch + if use amd64; then + epatch ${FILESDIR}/amd64.patch + fi + + if has_multilib_profile; then + epatch ${FILESDIR}/${PN}-4.1.4-multilib.patch + fi - elibtoolize + if use ppc64 || has_multilib_profile; then + export WANT_AUTOCONF=2.5 + libtoolize --copy --force + autoreconf || die + else + elibtoolize + fi } src_compile() { |