diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-09-25 04:03:40 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-09-25 04:03:40 +0000 |
commit | 5435b5cfde5bafbbd8271cc492d0f96e251fe303 (patch) | |
tree | 3cff5ab9309c9e6b8835e01fbd5b207504acf004 /dev-libs | |
parent | Various build fixes - gcc 4.3, autoconf-2.62, parallel build. Patches from (diff) | |
download | historical-5435b5cfde5bafbbd8271cc492d0f96e251fe303.tar.gz historical-5435b5cfde5bafbbd8271cc492d0f96e251fe303.tar.bz2 historical-5435b5cfde5bafbbd8271cc492d0f96e251fe303.zip |
Version bump.
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.26.2 x86_64
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/gmp/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/gmp/Manifest | 10 | ||||
-rw-r--r-- | dev-libs/gmp/gmp-4.2.4.ebuild | 76 |
3 files changed, 88 insertions, 5 deletions
diff --git a/dev-libs/gmp/ChangeLog b/dev-libs/gmp/ChangeLog index 3f35647b54ec..591979f5c11e 100644 --- a/dev-libs/gmp/ChangeLog +++ b/dev-libs/gmp/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/gmp # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/ChangeLog,v 1.104 2008/08/25 14:06:29 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/ChangeLog,v 1.105 2008/09/25 04:03:40 vapier Exp $ + +*gmp-4.2.4 (25 Sep 2008) + + 25 Sep 2008; Mike Frysinger <vapier@gentoo.org> +gmp-4.2.4.ebuild: + Version bump. 25 Aug 2008; Raúl Porcel <armin76@gentoo.org> gmp-4.2.2-r2.ebuild: ia64 stable wrt #235292 diff --git a/dev-libs/gmp/Manifest b/dev-libs/gmp/Manifest index 04f14e7ad14c..0f51e19bbb61 100644 --- a/dev-libs/gmp/Manifest +++ b/dev-libs/gmp/Manifest @@ -9,17 +9,19 @@ AUX gmp-4.2.2-cstdio-stdfile.patch 263 RMD160 53e172ee3824899f765eee3ea8a042ac59 AUX gmp-4.2.3-ABI-multilib.patch 12456 RMD160 d225bac7ea2d152bfecf8ce3b887b35a70f09eb4 SHA1 8b9ec5d278db0d1c925c8eff337126c4f9986547 SHA256 5656454b0330686984e012129c0d5889ab9d161e514d69de34b5a2eaa7383d6a DIST gmp-4.2.2.tar.bz2 1747068 RMD160 4021720f78b02244197c0c49522289e7fe81aad9 SHA1 8c5f9798956f9b0162a25a56477a3566a92abc72 SHA256 2b2c0aacafa2dc41f4604b381349d49596921e38a58bf782b0d70b33f548657b DIST gmp-4.2.3.tar.bz2 1710314 RMD160 01d73df59ae87bff995dd4cf3f20788627715a5e SHA1 0106bae14a96d13819a0833e9938a994df230d3b SHA256 139b5abc49833832184c0a03ff6fc64c59ef102b420d2a5884ad78af5647414b +DIST gmp-4.2.4.tar.bz2 1710660 RMD160 15c6c40c377088a3bcf9d432bcc27c777991cb12 SHA1 bb721f94fbeeb8c609104540b408da6707c370ec SHA256 5420b0e558a69a53b36f2b2c70a69f547e075d98366a585fc80cbbcce1efe368 DIST gmp-man-4.2.2.pdf 1002466 RMD160 20b37f581d5c993fcc3e092123d5554efc8b2a81 SHA1 706dfd027e208b089f95bf9ff494d298dfa5b4b7 SHA256 44a5dcfbf1bef54c5244e2a1960c479e18b9740849daffb844472c60bc8e962c DIST gmp-man-4.2.3.pdf 994860 RMD160 5f83d5b6149986452de81cb6a3ba126592ff4b06 SHA1 f1f9fafc64435bfa2746b719ed867bf3c30a8238 SHA256 a623c8fd4e5993e35c68e8abff8e8533385eed5aede4e4f15d9a338cbf9f26a4 EBUILD gmp-4.2.2-r2.ebuild 2116 RMD160 a218a7d342b4741df1fe685558fcd061a4d6fd76 SHA1 d228c5901c10a98a412f3b278fd9fca113781f35 SHA256 b98d3505f6f53db1ab1cce702ceb0aa6054f7f2c15d031673d381e90dfff054c EBUILD gmp-4.2.2.ebuild 2058 RMD160 907d052000da0d202e660d1d848495851da11d8b SHA1 aad3a4dda5bd8f35c27a0fc2d340c69df9312c3c SHA256 1c9b5dc08b6dafa0164783858f992e42c10699a051eb249e578acc10f6b79120 EBUILD gmp-4.2.3.ebuild 2144 RMD160 8efd6a872d2d21b331eee83b5e6c14512f14c082 SHA1 26b8e415be1db3d3bc0e01ec9c83271d21f6cc60 SHA256 306ccfb576ed83852920c98467f67c150a628be66b40408c62648a029fd81c47 -MISC ChangeLog 14186 RMD160 892fa579d924acbfd98f70f37637f1eb88da9ad2 SHA1 91bff41a0d7769079090b8f231ce72b188a8a64a SHA256 1d96803661a8a0da467c6bee7c5036150e06278aaa0aff002e9b55f6d2dcaf28 +EBUILD gmp-4.2.4.ebuild 2085 RMD160 5407a711f6292476b3807b6abec352ab3c14ff10 SHA1 e701666e5c57e475ed4432b94df35797862a4d74 SHA256 246e49a6e32900c3e8adff2cc2e9d141802a873083b1de90ba6774507987153a +MISC ChangeLog 14297 RMD160 e93a4ed427da9c758d52dd9fe88d1bf009545412 SHA1 3d91c12bb5bae1396abafea481ce9a49383317c6 SHA256 dcb37a74e2c73e8820721fae07c4f77593a9919ebbcf8bf63b753575599c69d5 MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAkjVP5gACgkQ67wieSYcaxepSwCg3AGeQ5e61M8lsc/+UwCPihnb -RH0AoNQhlMWRVytFD7jwCZ9qwfi8cvZ5 -=GKK8 +iEYEARECAAYFAkjbDaIACgkQ67wieSYcaxd4HwCg2nvmYOuRp80JV4FpGpDbKafd +VRUAnRYBjtL24vuTfn215ImiwgAJRp+H +=0y9z -----END PGP SIGNATURE----- diff --git a/dev-libs/gmp/gmp-4.2.4.ebuild b/dev-libs/gmp/gmp-4.2.4.ebuild new file mode 100644 index 000000000000..54112daf7181 --- /dev/null +++ b/dev-libs/gmp/gmp-4.2.4.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/gmp-4.2.4.ebuild,v 1.1 2008/09/25 04:03:40 vapier Exp $ + +inherit flag-o-matic eutils libtool + +DESCRIPTION="Library for arithmetic on arbitrary precision integers, rational numbers, and floating-point numbers" +HOMEPAGE="http://gmplib.org/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2" +# doc? ( http://www.nada.kth.se/~tege/${PN}-man-${PV}.pdf )" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" +IUSE="nocxx" #doc + +RDEPEND="" +DEPEND="" + +src_unpack () { + unpack ${A} + cd "${S}" + [[ -d ${FILESDIR}/${PV} ]] && EPATCH_SUFFIX="diff" EPATCH_FORCE="yes" epatch "${FILESDIR}"/${PV} + epatch "${FILESDIR}"/${PN}-4.1.4-noexecstack.patch + epatch "${FILESDIR}"/${PN}-4.2.3-ABI-multilib.patch + epatch "${FILESDIR}"/${PN}-4.2.1-s390.diff + + sed -i -e 's:ABI = @ABI@:GMPABI = @GMPABI@:' \ + Makefile.in */Makefile.in */*/Makefile.in + + # note: we cannot run autotools here as gcc depends on this package + elibtoolize +} + +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} + fi + + # ABI mappings (needs all architectures supported) + 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 \ + --disable-mpfr \ + --disable-mpbsd \ + $(use_enable !nocxx cxx) \ + || die "configure failed" + + # Fix the ABI for hppa2.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" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + + dodoc AUTHORS ChangeLog NEWS README + dodoc doc/configuration doc/isa_abi_headache + dohtml -r doc + + #use doc && cp "${DISTDIR}"/gmp-man-${PV}.pdf "${D}"/usr/share/doc/${PF}/ +} |