summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-10-07 16:41:47 +0000
committerMike Frysinger <vapier@gentoo.org>2007-10-07 16:41:47 +0000
commite4c54f620c301001e53e341eefb81daede08c3a6 (patch)
treed0ad487f670ce50cb6d387741d4d0dd5f88e9dc6 /dev-libs/gmp
parentmade init-script compatible with shells other than bash (bug #194919), change... (diff)
downloadhistorical-e4c54f620c301001e53e341eefb81daede08c3a6.tar.gz
historical-e4c54f620c301001e53e341eefb81daede08c3a6.tar.bz2
historical-e4c54f620c301001e53e341eefb81daede08c3a6.zip
cleanup code a bit
Package-Manager: portage-2.1.3.11
Diffstat (limited to 'dev-libs/gmp')
-rw-r--r--dev-libs/gmp/Manifest16
-rw-r--r--dev-libs/gmp/gmp-4.2.1-r1.ebuild27
2 files changed, 21 insertions, 22 deletions
diff --git a/dev-libs/gmp/Manifest b/dev-libs/gmp/Manifest
index 5afb1821acd7..cb3d95eb39a4 100644
--- a/dev-libs/gmp/Manifest
+++ b/dev-libs/gmp/Manifest
@@ -39,10 +39,10 @@ RMD160 04eecb2aaae4c444841e40b33abd38a662254632 files/gmp-4.2.1-s390.diff 1848
SHA256 13c6b01e71534af2c353d79b7afd171f158b8fa6e3299e0f7c0335e516ce67ec files/gmp-4.2.1-s390.diff 1848
DIST gmp-4.2.1.tar.bz2 1726453 RMD160 831e02a36ac7b466857f8fafeffad7d51f7656e7 SHA1 00a97f0ec1eb1d9429ab5c64be6889e8a497425e SHA256 d07ffcb37eecec35c5ec72516d10b35fdf6e6fef1fcf1dcd37e30b8cbf8bf941
DIST gmp-man-4.2.1.pdf 996792 RMD160 3f8ea92b95e985d09ed8d5b45952ccf98fbd9dac SHA1 e1f3f84b38d6c459220dbd14015d440cd59195d1 SHA256 3bee6b5285eea339a5ea949cd9db12fe5f676f15beff8ae9cbee0011be24beef
-EBUILD gmp-4.2.1-r1.ebuild 2187 RMD160 85b5458bc2f4b9721018f558b0b14d0c01e35579 SHA1 3dbf1b555de7a46a1e1f844b0c2078a68757ce09 SHA256 8b5cdc9795f6e449ec5041b740655f0e60b0e81c609235f714338d7e86b7a645
-MD5 287c3dd290976a83b40c5ea62fd4d9ed gmp-4.2.1-r1.ebuild 2187
-RMD160 85b5458bc2f4b9721018f558b0b14d0c01e35579 gmp-4.2.1-r1.ebuild 2187
-SHA256 8b5cdc9795f6e449ec5041b740655f0e60b0e81c609235f714338d7e86b7a645 gmp-4.2.1-r1.ebuild 2187
+EBUILD gmp-4.2.1-r1.ebuild 2016 RMD160 d865c70c7f17e486b1b048c623106437196cb4a5 SHA1 e575a9f57294a2522f0321420f21648516bb20e4 SHA256 01df134f9dddec7bb49a81f5768732d58a0441161e723ebf9a00f0126f354fd6
+MD5 37babbcd3ba2ce7540674e4eff2da6fa gmp-4.2.1-r1.ebuild 2016
+RMD160 d865c70c7f17e486b1b048c623106437196cb4a5 gmp-4.2.1-r1.ebuild 2016
+SHA256 01df134f9dddec7bb49a81f5768732d58a0441161e723ebf9a00f0126f354fd6 gmp-4.2.1-r1.ebuild 2016
MISC ChangeLog 11939 RMD160 c43568508faa5d21ae570b56ac1310aa1decc240 SHA1 86678d07cccd15d0daa5c0592ddeed9192347680 SHA256 579df7a45b5ed4e867e00063690467fd1966ae67558fc9e4285a860715f9b7b4
MD5 561437387f651ac10a63e0b24f94e5e2 ChangeLog 11939
RMD160 c43568508faa5d21ae570b56ac1310aa1decc240 ChangeLog 11939
@@ -55,9 +55,9 @@ MD5 d87bd044c3923c0796531c3bf8576c9f files/digest-gmp-4.2.1-r1 467
RMD160 98ab335c8f75e99dfd7ddc3d8997efb97f8ef99e files/digest-gmp-4.2.1-r1 467
SHA256 72f6e7bb87de1a79792e7c22a78d0e16956ec7e0b80a13c7de181b691a627db9 files/digest-gmp-4.2.1-r1 467
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.5 (GNU/Linux)
+Version: GnuPG v2.0.7 (GNU/Linux)
-iD8DBQFGqPi/p/wUKkr7RBoRArMXAJ9qZeXKT4+/EvQfrcue53Swr8rX5QCcDw2A
-zfav9jOvkXCyOscnyTHqUrc=
-=drIg
+iD8DBQFHCQxRp/wUKkr7RBoRAqwQAJ9FixesRCtrvf/PYzbgCglHfgE3PwCeNNiQ
+gDKeXAD2UWqUK4v2Z5jpqDQ=
+=4rt3
-----END PGP SIGNATURE-----
diff --git a/dev-libs/gmp/gmp-4.2.1-r1.ebuild b/dev-libs/gmp/gmp-4.2.1-r1.ebuild
index 78bf21d90cfe..5bd2382501f9 100644
--- a/dev-libs/gmp/gmp-4.2.1-r1.ebuild
+++ b/dev-libs/gmp/gmp-4.2.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/gmp-4.2.1-r1.ebuild,v 1.2 2007/07/26 19:39:20 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/gmp-4.2.1-r1.ebuild,v 1.3 2007/10/07 16:41:47 vapier Exp $
inherit flag-o-matic eutils libtool
@@ -34,21 +34,18 @@ src_unpack () {
src_compile() {
# GMP believes hppa2.0 is 64bit
+ local is_hppa_2_0
if [[ ${CHOST} == hppa2.0-* ]] ; then
is_hppa_2_0=1
- export CHOST="${CHOST/2.0/1.1}"
+ export CHOST=${CHOST/2.0/1.1}
fi
# ABI mappings (needs all architectures supported)
- if [ -n "${ABI}" ]; then
- [ "${ABI}" = "32" ] && export GMPABI=32
- [ "${ABI}" = "64" ] && export GMPABI=64
- [ "${ABI}" = "x86" ] && export GMPABI=32
- [ "${ABI}" = "amd64" ] && export GMPABI=64
- [ "${ABI}" = "n64" ] && export GMPABI=64
- [ "${ABI}" = "o32" ] && export GMPABI=o32
- [ "${ABI}" = "n32" ] && export GMPABI=n32
- fi
+ case ${ABI} in
+ 32|x86) export GMPABI=32;;
+ 64|amd64|n64) export GMPABI=64;;
+ o32|n32) export GMPABI=${ABI};;
+ esac
econf \
--localstatedir=/var/state/gmp \
@@ -58,9 +55,11 @@ src_compile() {
|| die "configure failed"
# Fix the ABI for hppa2.0
- if [ ! -z "${is_hppa_2_0}" ]; then
- sed -i "${S}/config.h" -e 's:pa32/hppa1_1:pa32/hppa2_0:'
- export CHOST="${CHOST/1.1/2.0}"
+ if [[ -n ${is_hppa_2_0} ]] ; then
+ sed -i \
+ -e 's:pa32/hppa1_1:pa32/hppa2_0:' \
+ "${S}"/config.h || die
+ export CHOST=${CHOST/1.1/2.0}
fi
emake || die "emake failed"