summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-05-23 23:23:36 +0000
committerMike Frysinger <vapier@gentoo.org>2009-05-23 23:23:36 +0000
commit0d76f8116c490c0404bfdf464f2f305fc86c62e3 (patch)
treee6d6c1018cb6929f3784c5c427bb58f8c84e4dec /dev-libs/gmp
parentadd a dedicated append-cflags function and define append-flags in terms of ot... (diff)
downloadhistorical-0d76f8116c490c0404bfdf464f2f305fc86c62e3.tar.gz
historical-0d76f8116c490c0404bfdf464f2f305fc86c62e3.tar.bz2
historical-0d76f8116c490c0404bfdf464f2f305fc86c62e3.zip
Version bump #270810 by Arseny Solokha.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/gmp')
-rw-r--r--dev-libs/gmp/ChangeLog7
-rw-r--r--dev-libs/gmp/Manifest10
-rw-r--r--dev-libs/gmp/gmp-4.3.1.ebuild76
3 files changed, 88 insertions, 5 deletions
diff --git a/dev-libs/gmp/ChangeLog b/dev-libs/gmp/ChangeLog
index b71c64012e8b..7956fcfca2a4 100644
--- a/dev-libs/gmp/ChangeLog
+++ b/dev-libs/gmp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/gmp
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/ChangeLog,v 1.113 2009/04/27 06:46:22 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/ChangeLog,v 1.114 2009/05/23 23:23:36 vapier Exp $
+
+*gmp-4.3.1 (23 May 2009)
+
+ 23 May 2009; Mike Frysinger <vapier@gentoo.org> +gmp-4.3.1.ebuild:
+ Version bump #270810 by Arseny Solokha.
*gmp-4.3.0 (27 Apr 2009)
diff --git a/dev-libs/gmp/Manifest b/dev-libs/gmp/Manifest
index b7b70a4514bc..d0d172d068ae 100644
--- a/dev-libs/gmp/Manifest
+++ b/dev-libs/gmp/Manifest
@@ -10,14 +10,16 @@ AUX gmp-4.2.3-ABI-multilib.patch 12456 RMD160 d225bac7ea2d152bfecf8ce3b887b35a70
AUX gmp-4.3.0-ABI-multilib.patch 12467 RMD160 5c0e45719739de5ed63066a169e88acbcb8f025d SHA1 464605ae9d436dac201bc27dd83c7d2ea0587d6d SHA256 752e40fc252f2f0595938f1b05439c4394a68a5e9fc87252752a2dbd98b802c9
DIST gmp-4.2.4.tar.bz2 1710660 RMD160 15c6c40c377088a3bcf9d432bcc27c777991cb12 SHA1 bb721f94fbeeb8c609104540b408da6707c370ec SHA256 5420b0e558a69a53b36f2b2c70a69f547e075d98366a585fc80cbbcce1efe368
DIST gmp-4.3.0.tar.bz2 1897926 RMD160 db53caaf856a54d2a2c0d60961a7c4b820bcebce SHA1 86dbd8a6b2fbb4c75760a80009227c9a11b801a9 SHA256 e18ec84c97938564d22fe46c8d6ef737cc5be508a30018a7fdde633f90bb20f0
+DIST gmp-4.3.1.tar.bz2 1881090 RMD160 f325d809dde1f87816eea3697bcfe00f3ec8f10d SHA1 acbd1edc61230b1457e9742136994110e4f381b2 SHA256 aa0295472854f2f9691db7c6892921452521b4d5def15223136f4733309db7c8
EBUILD gmp-4.2.4.ebuild 2073 RMD160 31473b5a0825b9a2aacade71a20dc87ae3be6b27 SHA1 b6337e0a67968bca81487a2231612f2559d84c8d SHA256 5facb82c69681fa4cd1259aaa5542c5d9e30c07b4e1925a7e7f3631d5ec73ed3
EBUILD gmp-4.3.0.ebuild 2085 RMD160 47fa53807464bb52aa721a5c4ca0ec7d2d335d13 SHA1 167f240da9b04abd3a98762abc609ab85c0877da SHA256 fca27c45d2fdc0c914bffda05b07b244db550d875dcad016f3b7c7503b2a4b6b
-MISC ChangeLog 15236 RMD160 9e20f7161d38b35d8aa78c8003e2881e78e13909 SHA1 e31916bd4fefc50ccf09f17b34610c4404e801f2 SHA256 78ff39a86283ceb3e3ca3908b64b6194ec620f71e49bf6d88c1e82119fa7901f
+EBUILD gmp-4.3.1.ebuild 2085 RMD160 7d4683a2deb061953b4ca5e47875544fb530f568 SHA1 5d281831f201458bda95e44d4e90658cf5d92b99 SHA256 7153b9a13c1a5c24d5ef7075314ba67ad4e20cb75a6d64382adf4b5f54b700f4
+MISC ChangeLog 15374 RMD160 e7bc12913ab1ac108e945bae21a3c97ad3442abd SHA1 e7b11c78873a893368bbea3418481cdd492af375 SHA256 5162fa3b9533ebee4bc52da65d1d826bece7ba46df4b5e49fe7e3af8da8a28e0
MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
-iEYEARECAAYFAkn1VMQACgkQn/5bYzqsSmERVACbBSFjgal8Jl32nWSQi9s4HvhK
-QjwAn2iJhxLh148/OX8pfz/0Fo6vPcAV
-=18HD
+iEYEARECAAYFAkoYhX4ACgkQn/5bYzqsSmE8TgCeK9/6wEMPxNY7MekVNWAbBqTV
+kBgAoMFz3sTAZX2Sz2IcOU/lJBGZ4Ouc
+=jxmV
-----END PGP SIGNATURE-----
diff --git a/dev-libs/gmp/gmp-4.3.1.ebuild b/dev-libs/gmp/gmp-4.3.1.ebuild
new file mode 100644
index 000000000000..9e7d2c531102
--- /dev/null
+++ b/dev-libs/gmp/gmp-4.3.1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/gmp-4.3.1.ebuild,v 1.1 2009/05/23 23:23:36 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.3.0-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}/
+}