1 |
bicatali 11/02/24 04:56:07 |
2 |
|
3 |
Modified: ChangeLog ntl-5.5.2.ebuild |
4 |
Removed: ntl-5.4-r1.ebuild ntl-5.3.ebuild ntl-5.3.2.ebuild |
5 |
Log: |
6 |
Added static-libs flag and downgrade O3 and above flags to O2 (bug #356087) |
7 |
|
8 |
(Portage version: 2.1.9.40/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.22 dev-libs/ntl/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/ntl/ChangeLog?rev=1.22&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/ntl/ChangeLog?rev=1.22&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/ntl/ChangeLog?r1=1.21&r2=1.22 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/ntl/ChangeLog,v |
20 |
retrieving revision 1.21 |
21 |
retrieving revision 1.22 |
22 |
diff -u -r1.21 -r1.22 |
23 |
--- ChangeLog 25 Dec 2010 12:07:27 -0000 1.21 |
24 |
+++ ChangeLog 24 Feb 2011 04:56:07 -0000 1.22 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-libs/ntl |
27 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/ntl/ChangeLog,v 1.21 2010/12/25 12:07:27 grobian Exp $ |
29 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ntl/ChangeLog,v 1.22 2011/02/24 04:56:07 bicatali Exp $ |
31 |
+ |
32 |
+ 24 Feb 2011; Sébastien Fabbro <bicatali@g.o> -ntl-5.3.ebuild, |
33 |
+ -ntl-5.3.2.ebuild, -ntl-5.4-r1.ebuild, -files/ntl-5.4-endless_testrun.patch, |
34 |
+ ntl-5.5.2.ebuild: |
35 |
+ Added static-libs flag and downgrade O3 and above flags to O2 (bug #356087) |
36 |
|
37 |
25 Dec 2010; Fabian Groffen <grobian@g.o> ntl-5.5.2.ebuild, |
38 |
files/ntl-5.5.2-shared.patch: |
39 |
|
40 |
|
41 |
|
42 |
1.7 dev-libs/ntl/ntl-5.5.2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/ntl/ntl-5.5.2.ebuild?rev=1.7&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/ntl/ntl-5.5.2.ebuild?rev=1.7&content-type=text/plain |
46 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/ntl/ntl-5.5.2.ebuild?r1=1.6&r2=1.7 |
47 |
|
48 |
Index: ntl-5.5.2.ebuild |
49 |
=================================================================== |
50 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/ntl/ntl-5.5.2.ebuild,v |
51 |
retrieving revision 1.6 |
52 |
retrieving revision 1.7 |
53 |
diff -u -r1.6 -r1.7 |
54 |
--- ntl-5.5.2.ebuild 25 Dec 2010 12:07:27 -0000 1.6 |
55 |
+++ ntl-5.5.2.ebuild 24 Feb 2011 04:56:07 -0000 1.7 |
56 |
@@ -1,9 +1,9 @@ |
57 |
-# Copyright 1999-2010 Gentoo Foundation |
58 |
+# Copyright 1999-2011 Gentoo Foundation |
59 |
# Distributed under the terms of the GNU General Public License v2 |
60 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/ntl/ntl-5.5.2.ebuild,v 1.6 2010/12/25 12:07:27 grobian Exp $ |
61 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ntl/ntl-5.5.2.ebuild,v 1.7 2011/02/24 04:56:07 bicatali Exp $ |
62 |
|
63 |
EAPI=3 |
64 |
-inherit toolchain-funcs eutils multilib |
65 |
+inherit toolchain-funcs eutils multilib flag-o-matic |
66 |
|
67 |
DESCRIPTION="High-performance and portable Number Theory C++ library" |
68 |
HOMEPAGE="http://shoup.net/ntl/" |
69 |
@@ -12,7 +12,7 @@ |
70 |
LICENSE="GPL-2" |
71 |
SLOT="0" |
72 |
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos" |
73 |
-IUSE="doc" |
74 |
+IUSE="doc static-libs test" |
75 |
|
76 |
RDEPEND=">=dev-libs/gmp-4.3 |
77 |
>=dev-libs/gf2x-0.9" |
78 |
@@ -31,6 +31,7 @@ |
79 |
epatch "$FILESDIR/${P}-sage-tools.patch" |
80 |
# sanitize the makefile and allow the building of shared library |
81 |
epatch "$FILESDIR/${P}-shared.patch" |
82 |
+ replace-flags -O[3-9] -O2 |
83 |
} |
84 |
|
85 |
src_configure() { |
86 |
@@ -48,14 +49,18 @@ |
87 |
emake setup1 setup2 || die "emake setup failed" |
88 |
emake setup3 || die "emake setup failed" |
89 |
sh Wizard on || die "Tuning wizard failed" |
90 |
- emake ntl.a || die "emake static failed" |
91 |
+ if use static-libs || use test; then |
92 |
+ emake ntl.a || die "emake static failed" |
93 |
+ fi |
94 |
local trg=so |
95 |
[[ ${CHOST} == *-darwin* ]] && trg=dylib |
96 |
emake shared${trg} || die "emake shared failed" |
97 |
} |
98 |
|
99 |
src_install() { |
100 |
- newlib.a ntl.a libntl.a || die "installation of static library failed" |
101 |
+ if use static-libs; then |
102 |
+ newlib.a ntl.a libntl.a || die "installation of static library failed" |
103 |
+ fi |
104 |
dolib.so lib*$(get_libname) || die "installation of shared library failed" |
105 |
|
106 |
cd .. |