1 |
tomka 11/01/18 18:12:07 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mpir-2.2.1.ebuild |
5 |
Log: |
6 |
bump to 2.2.1 |
7 |
|
8 |
(Portage version: 2.1.9.33/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.4 sci-libs/mpir/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mpir/ChangeLog?rev=1.4&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mpir/ChangeLog?rev=1.4&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mpir/ChangeLog?r1=1.3&r2=1.4 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/mpir/ChangeLog,v |
20 |
retrieving revision 1.3 |
21 |
retrieving revision 1.4 |
22 |
diff -u -r1.3 -r1.4 |
23 |
--- ChangeLog 16 Dec 2010 09:55:08 -0000 1.3 |
24 |
+++ ChangeLog 18 Jan 2011 18:12:07 -0000 1.4 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sci-libs/mpir |
27 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/mpir/ChangeLog,v 1.3 2010/12/16 09:55:08 tomka Exp $ |
29 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/mpir/ChangeLog,v 1.4 2011/01/18 18:12:07 tomka Exp $ |
31 |
+ |
32 |
+*mpir-2.2.1 (18 Jan 2011) |
33 |
+ |
34 |
+ 18 Jan 2011; Thomas Kahle <tomka@g.o> +mpir-2.2.1.ebuild: |
35 |
+ bump to 2.2.1 |
36 |
|
37 |
*mpir-2.2.0 (16 Dec 2010) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 sci-libs/mpir/mpir-2.2.1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mpir/mpir-2.2.1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mpir/mpir-2.2.1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: mpir-2.2.1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2011 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sci-libs/mpir/mpir-2.2.1.ebuild,v 1.1 2011/01/18 18:12:07 tomka Exp $ |
52 |
|
53 |
EAPI="3" |
54 |
|
55 |
inherit eutils autotools |
56 |
|
57 |
DESCRIPTION="Library for arbitrary precision integer arithmetic derived from version 4.2.1 of gmp" |
58 |
HOMEPAGE="http://www.mpir.org/" |
59 |
SRC_URI="http://www.mpir.org/${P}.tar.bz2" |
60 |
|
61 |
LICENSE="LGPL-3" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~x86" |
64 |
IUSE="+cxx cpudetection" |
65 |
|
66 |
DEPEND="x86? ( dev-lang/yasm ) |
67 |
amd64? ( dev-lang/yasm )" |
68 |
RDEPEND="" |
69 |
|
70 |
src_prepare(){ |
71 |
epatch \ |
72 |
"${FILESDIR}/${PN}-2.2.0-yasm.patch" \ |
73 |
"${FILESDIR}/${PN}-1.3.0-ABI-multilib.patch" |
74 |
# In the same way there was QA regarding executable stacks |
75 |
# with GMP we have some here as well. We cannot apply the |
76 |
# GMP solution as yasm is used, at least on x86/amd64. |
77 |
# Furthermore we are able to patch config.ac. |
78 |
|
79 |
ebegin "Patching assembler files to remove executable sections" |
80 |
|
81 |
for i in $(find . -type f -name '*.asm') ; do |
82 |
cat >> $i <<-EOF |
83 |
#if defined(__linux__) && defined(__ELF__) |
84 |
.section .note.GNU-stack,"",%progbits |
85 |
#endif |
86 |
EOF |
87 |
done |
88 |
|
89 |
for i in $(find . -type f -name '*.as') ; do |
90 |
cat >> $i <<-EOF |
91 |
%ifidn __OUTPUT_FORMAT__,elf |
92 |
section .note.GNU-stack noalloc noexec nowrite progbits |
93 |
%endif |
94 |
EOF |
95 |
done |
96 |
|
97 |
eend |
98 |
|
99 |
eautoreconf |
100 |
} |
101 |
|
102 |
src_configure() { |
103 |
# beware that cpudetection aka fat binaries is x86/amd64 only. |
104 |
# Place mpir in profiles/arch/$arch/package.use.mask when making it available on $arch. |
105 |
econf \ |
106 |
$(use_enable cxx) \ |
107 |
$(use_enable cpudetection fat) |
108 |
} |
109 |
|
110 |
src_install() { |
111 |
emake DESTDIR="${D}" install || die "emake install failed" |
112 |
dodoc ChangeLog README NEWS || die |
113 |
} |