summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/gmp/ChangeLog7
-rw-r--r--dev-libs/gmp/Manifest21
-rw-r--r--dev-libs/gmp/gmp-4.3.2-r1.ebuild61
3 files changed, 78 insertions, 11 deletions
diff --git a/dev-libs/gmp/ChangeLog b/dev-libs/gmp/ChangeLog
index bddbd2f71bb2..eea2e1bf97f0 100644
--- a/dev-libs/gmp/ChangeLog
+++ b/dev-libs/gmp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/gmp
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/ChangeLog,v 1.148 2011/10/03 15:31:45 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/ChangeLog,v 1.149 2011/10/03 15:36:58 vapier Exp $
+
+*gmp-4.3.2-r1 (03 Oct 2011)
+
+ 03 Oct 2011; Mike Frysinger <vapier@gentoo.org> +gmp-4.3.2-r1.ebuild:
+ Add ebuild for libgmp.so.3 ABI name.
03 Oct 2011; Mike Frysinger <vapier@gentoo.org> gmp-4.3.2.ebuild,
gmp-5.0.1.ebuild, gmp-5.0.2.ebuild, gmp-5.0.2_p1.ebuild:
diff --git a/dev-libs/gmp/Manifest b/dev-libs/gmp/Manifest
index 10956dc10d38..f2c4f0b29c2d 100644
--- a/dev-libs/gmp/Manifest
+++ b/dev-libs/gmp/Manifest
@@ -1,5 +1,5 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
AUX gmp-4.1.4-noexecstack.patch 474 RMD160 22aa94eded1650432202b93a79900be1c85a779b SHA1 fd7ca0feb59aa319ba30bdbc71b7796a0a457d76 SHA256 68601777151a1628d7bc839eddd037685c5d2e76c9453166890a5eb3cf6000c3
AUX gmp-4.2.1-s390.diff 1848 RMD160 04eecb2aaae4c444841e40b33abd38a662254632 SHA1 38ba90ffd6cd9d66e07c5f71b4608e3ad9d32a6b SHA256 13c6b01e71534af2c353d79b7afd171f158b8fa6e3299e0f7c0335e516ce67ec
@@ -12,16 +12,17 @@ DIST gmp-4.3.2.tar.bz2 1897483 RMD160 a8f3f41501ece290c348aeb4444bbea40bc53e71 S
DIST gmp-5.0.1.tar.bz2 2006109 RMD160 3e89ebf5294639e1c926b92d9786bbdd0c8fa587 SHA1 6340edc7ceb95f9015a758c7c0d196eb0f441d49 SHA256 a2a610f01fd3298dc08c87bf30498c2402590e1bcb227fc40b15ee6d280939fb
DIST gmp-5.0.2.tar.bz2 2024576 RMD160 fce06e3246f067301a54f3457960f1d6d71adfc2 SHA1 2968220e1988eabb61f921d11e5d2db5431e0a35 SHA256 dbc2db76fdd4e99f85d5e35aa378ed62c283e0d586b91bd8703aff75a7804c28
DIST gmp-man-5.0.2.pdf 1024222 RMD160 8b109ab46248d2cc3eaa383a10921558c6eb657f SHA1 bccd7089b9a355c102770ce98534d581af8a1a42 SHA256 fcdd621dea0215b8920bdbfacf374ae8ef4f548a2d0c3e8d65d904f1b9d174d4
-EBUILD gmp-4.3.2.ebuild 2002 RMD160 666c9fd2eacede528cf09c36c8dd633599c7524b SHA1 6e0f252c5dfa87a60e62afe7d4e4723c9a765b8f SHA256 71b4106595a6a46703f3a50de06b9d5fe72bb3b49277ca23527fdc7c07faa8a1
-EBUILD gmp-5.0.1.ebuild 2481 RMD160 78af7381019b8ac77c7718d6181a3c190984df6f SHA1 5825c088f861b077631cd1666e83abb5c4dd14b0 SHA256 f792bd1e85b4d0d45d79dc98487ed74b0e9e499cb981aececc4cb3c86a623e0c
-EBUILD gmp-5.0.2.ebuild 2426 RMD160 51767f071835460ff72980b6ea335d972f1bbbb6 SHA1 c87ea2239d3d791011fe4bd7a174424dace58ce3 SHA256 478dd2b4e916448cf584c24269820916f9e18cb43be547d1b086fdaab6376c01
-EBUILD gmp-5.0.2_p1.ebuild 2727 RMD160 5f64687b90a0fa7b11b7a776c340dd69a9078df3 SHA1 8c0c2d339d101c256516acc7cd6b97a011203580 SHA256 3a010d38c7c02acca52d6e24519b54f473f5f41720756a1ce7212e031b56c1c9
-MISC ChangeLog 19746 RMD160 05d4ee178304eaaf8ecdd702580bda688cbf716f SHA1 db0119c576c29405f6fa8874bdaad0e20f58b6b4 SHA256 5da420982a68a379213a9ef6b2f548ba18f7d3ee26774a318fca9df54805f5fc
+EBUILD gmp-4.3.2-r1.ebuild 1686 RMD160 7192064f72a756e7f87a19bb6e04974869fe9322 SHA1 e2d9390a1a4f5796d5f6f9dde62d3d12775f0d76 SHA256 27d0bb9abb49e4b123248fe7f101c824983b620e417f320cdcf5f62c877b4074
+EBUILD gmp-4.3.2.ebuild 2004 RMD160 1f348af6c37139026418a1ea36e0167321654640 SHA1 5d6842d178cdb90c5d4a42077ba84da662d3e4ad SHA256 fccaba83daab58992381353e79a75b3f3eaa19853b7fca00ff850d14a177b4e3
+EBUILD gmp-5.0.1.ebuild 2467 RMD160 b76b1023a877431bbf2d426d5e0ec6482896ff26 SHA1 9d2aab7949df3fc6e82a21bc9aa085bdf3a29a60 SHA256 f0d3f101476cc9e0d93844d9137740173f46ab74c3983fc9310528093f8e86c0
+EBUILD gmp-5.0.2.ebuild 2416 RMD160 8c503b7b424e71dacdc2ec14849eb048e219750e SHA1 991bf4aa6234aec6c8de428c592565f07192faf6 SHA256 fd796e17b73767979f61572507020196f25bedfbd6e91fd416bbe133125a3c1e
+EBUILD gmp-5.0.2_p1.ebuild 2714 RMD160 a54ff52a756f6403397a521345a5066a93cbc9f5 SHA1 c2b741a4521c4c38ebb19fbf994d46027b27e164 SHA256 17fee31a9e37173fdee24730cb9b3171d7aeef3c9c69f3ecea78ed2d45e9413c
+MISC ChangeLog 20057 RMD160 4c9b61375c0a6beb0dfca6c24b969414cf6846c9 SHA1 d442f02045f60b2ee643cfe2a7efa50d7d8eb087 SHA256 20dc0d700f243579ab0e447d196282168db5bfb8283bd8c1f1b40c3c1e711730
MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEARECAAYFAk5wzjQACgkQVWmRsqeSphM3CQCcDR9TpGs9dNGMKg2ojZr8M1FF
-nC8Anjvu5uWzI87b+EZxWRI0f4LMXNjU
-=rmPu
+iF4EAREIAAYFAk6J1n4ACgkQaC/OocHi7JZa3QD6A+4KtisDZzVJG3N+6kQz5YHx
+fGi3xP/C1WZFFRO7NPwA/RkRYL2Jn16+u1AVp4O3hT/dtZhv8nCubF6PQ8FCXErF
+=lv86
-----END PGP SIGNATURE-----
diff --git a/dev-libs/gmp/gmp-4.3.2-r1.ebuild b/dev-libs/gmp/gmp-4.3.2-r1.ebuild
new file mode 100644
index 000000000000..2136ed4045a5
--- /dev/null
+++ b/dev-libs/gmp/gmp-4.3.2-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/gmp-4.3.2-r1.ebuild,v 1.1 2011/10/03 15:36:58 vapier Exp $
+
+# this ebuild is only for the libgmp.so.3 ABI SONAME
+
+EAPI="3"
+
+inherit eutils libtool toolchain-funcs
+
+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"
+
+LICENSE="LGPL-3"
+SLOT="3"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+IUSE=""
+
+DEPEND="sys-devel/m4"
+RDEPEND=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-4.1.4-noexecstack.patch
+ epatch "${FILESDIR}"/${PN}-4.3.2-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_configure() {
+ # Because of our 32-bit userland, 1.0 is the only HPPA ABI that works
+ # http://gmplib.org/manual/ABI-and-ISA.html#ABI-and-ISA (bug #344613)
+ if [[ ${CHOST} == hppa2.0-* ]] ; then
+ export GMPABI="1.0"
+ 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
+
+ tc-export CC
+ econf \
+ --localstatedir=/var/state/gmp \
+ --disable-mpfr \
+ --disable-mpbsd \
+ --disable-static \
+ --disable-cxx
+}
+
+src_install() {
+ emake install-libLTLIBRARIES DESTDIR="${D}" || die
+ rm "${D}"/usr/*/libgmp.{la,so} || die
+}