1 |
vapier 11/10/03 15:36:58 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gmp-4.3.2-r1.ebuild |
5 |
Log: |
6 |
Add ebuild for libgmp.so.3 ABI name. |
7 |
|
8 |
(Portage version: 2.2.0_alpha59/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.149 dev-libs/gmp/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gmp/ChangeLog?rev=1.149&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gmp/ChangeLog?rev=1.149&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gmp/ChangeLog?r1=1.148&r2=1.149 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/gmp/ChangeLog,v |
20 |
retrieving revision 1.148 |
21 |
retrieving revision 1.149 |
22 |
diff -u -r1.148 -r1.149 |
23 |
--- ChangeLog 3 Oct 2011 15:31:45 -0000 1.148 |
24 |
+++ ChangeLog 3 Oct 2011 15:36:58 -0000 1.149 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-libs/gmp |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/ChangeLog,v 1.148 2011/10/03 15:31:45 vapier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmp/ChangeLog,v 1.149 2011/10/03 15:36:58 vapier Exp $ |
30 |
+ |
31 |
+*gmp-4.3.2-r1 (03 Oct 2011) |
32 |
+ |
33 |
+ 03 Oct 2011; Mike Frysinger <vapier@g.o> +gmp-4.3.2-r1.ebuild: |
34 |
+ Add ebuild for libgmp.so.3 ABI name. |
35 |
|
36 |
03 Oct 2011; Mike Frysinger <vapier@g.o> gmp-4.3.2.ebuild, |
37 |
gmp-5.0.1.ebuild, gmp-5.0.2.ebuild, gmp-5.0.2_p1.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-libs/gmp/gmp-4.3.2-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gmp/gmp-4.3.2-r1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gmp/gmp-4.3.2-r1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: gmp-4.3.2-r1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2011 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $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 $ |
51 |
|
52 |
# this ebuild is only for the libgmp.so.3 ABI SONAME |
53 |
|
54 |
EAPI="3" |
55 |
|
56 |
inherit eutils libtool toolchain-funcs |
57 |
|
58 |
DESCRIPTION="Library for arithmetic on arbitrary precision integers, rational numbers, and floating-point numbers" |
59 |
HOMEPAGE="http://gmplib.org/" |
60 |
SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2" |
61 |
|
62 |
LICENSE="LGPL-3" |
63 |
SLOT="3" |
64 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
65 |
IUSE="" |
66 |
|
67 |
DEPEND="sys-devel/m4" |
68 |
RDEPEND="" |
69 |
|
70 |
src_prepare() { |
71 |
epatch "${FILESDIR}"/${PN}-4.1.4-noexecstack.patch |
72 |
epatch "${FILESDIR}"/${PN}-4.3.2-ABI-multilib.patch |
73 |
epatch "${FILESDIR}"/${PN}-4.2.1-s390.diff |
74 |
|
75 |
sed -i -e 's:ABI = @ABI@:GMPABI = @GMPABI@:' \ |
76 |
Makefile.in */Makefile.in */*/Makefile.in |
77 |
|
78 |
# note: we cannot run autotools here as gcc depends on this package |
79 |
elibtoolize |
80 |
} |
81 |
|
82 |
src_configure() { |
83 |
# Because of our 32-bit userland, 1.0 is the only HPPA ABI that works |
84 |
# http://gmplib.org/manual/ABI-and-ISA.html#ABI-and-ISA (bug #344613) |
85 |
if [[ ${CHOST} == hppa2.0-* ]] ; then |
86 |
export GMPABI="1.0" |
87 |
fi |
88 |
|
89 |
# ABI mappings (needs all architectures supported) |
90 |
case ${ABI} in |
91 |
32|x86) export GMPABI=32;; |
92 |
64|amd64|n64) export GMPABI=64;; |
93 |
o32|n32) export GMPABI=${ABI};; |
94 |
esac |
95 |
|
96 |
tc-export CC |
97 |
econf \ |
98 |
--localstatedir=/var/state/gmp \ |
99 |
--disable-mpfr \ |
100 |
--disable-mpbsd \ |
101 |
--disable-static \ |
102 |
--disable-cxx |
103 |
} |
104 |
|
105 |
src_install() { |
106 |
emake install-libLTLIBRARIES DESTDIR="${D}" || die |
107 |
rm "${D}"/usr/*/libgmp.{la,so} || die |
108 |
} |