1 |
bicatali 09/04/01 12:05:53 |
2 |
|
3 |
Modified: ChangeLog cln-1.2.2.ebuild |
4 |
Log: |
5 |
Filtered CFLAGS=-fdirectives-only and minor QA fixes, switch to EAPI=2 |
6 |
(Portage version: 2.2_rc27/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.32 sci-libs/cln/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cln/ChangeLog?rev=1.32&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cln/ChangeLog?rev=1.32&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cln/ChangeLog?r1=1.31&r2=1.32 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/cln/ChangeLog,v |
18 |
retrieving revision 1.31 |
19 |
retrieving revision 1.32 |
20 |
diff -u -r1.31 -r1.32 |
21 |
--- ChangeLog 11 Mar 2009 18:02:00 -0000 1.31 |
22 |
+++ ChangeLog 1 Apr 2009 12:05:53 -0000 1.32 |
23 |
@@ -1,6 +1,9 @@ |
24 |
# ChangeLog for sci-libs/cln |
25 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/cln/ChangeLog,v 1.31 2009/03/11 18:02:00 jer Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cln/ChangeLog,v 1.32 2009/04/01 12:05:53 bicatali Exp $ |
28 |
+ |
29 |
+ 01 Apr 2009; Sébastien Fabbro <bicatali@g.o> cln-1.2.2.ebuild: |
30 |
+ Filtered CFLAGS=-fdirectives-only and minor QA fixes, switch to EAPI=2 |
31 |
|
32 |
11 Mar 2009; Jeroen Roovers <jer@g.o> cln-1.2.2.ebuild: |
33 |
Marked ~hppa (bug #260777). Do not use deprecated hppa1.1 asm. |
34 |
|
35 |
|
36 |
|
37 |
1.9 sci-libs/cln/cln-1.2.2.ebuild |
38 |
|
39 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cln/cln-1.2.2.ebuild?rev=1.9&view=markup |
40 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cln/cln-1.2.2.ebuild?rev=1.9&content-type=text/plain |
41 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cln/cln-1.2.2.ebuild?r1=1.8&r2=1.9 |
42 |
|
43 |
Index: cln-1.2.2.ebuild |
44 |
=================================================================== |
45 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/cln/cln-1.2.2.ebuild,v |
46 |
retrieving revision 1.8 |
47 |
retrieving revision 1.9 |
48 |
diff -u -r1.8 -r1.9 |
49 |
--- cln-1.2.2.ebuild 11 Mar 2009 18:02:00 -0000 1.8 |
50 |
+++ cln-1.2.2.ebuild 1 Apr 2009 12:05:53 -0000 1.9 |
51 |
@@ -1,8 +1,9 @@ |
52 |
# Copyright 1999-2009 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/cln/cln-1.2.2.ebuild,v 1.8 2009/03/11 18:02:00 jer Exp $ |
55 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cln/cln-1.2.2.ebuild,v 1.9 2009/04/01 12:05:53 bicatali Exp $ |
56 |
|
57 |
-inherit eutils flag-o-matic multilib |
58 |
+EAPI=2 |
59 |
+inherit eutils flag-o-matic |
60 |
|
61 |
DESCRIPTION="Class library (C++) for numbers" |
62 |
HOMEPAGE="http://www.ginac.de/CLN/" |
63 |
@@ -16,29 +17,32 @@ |
64 |
IUSE="doc examples" |
65 |
|
66 |
DEPEND="dev-libs/gmp" |
67 |
+RDEPEND="${DEPEND}" |
68 |
|
69 |
-src_unpack() { |
70 |
- unpack ${A} |
71 |
- cd "${S}" |
72 |
- # avoid building tests and examples by default |
73 |
- epatch "${FILESDIR}"/${P}-examples.patch |
74 |
- # avoid installing dvi and html docs by default |
75 |
- epatch "${FILESDIR}"/${P}-docs.patch |
76 |
-} |
77 |
- |
78 |
-src_compile () { |
79 |
+pkg_setup() { |
80 |
# -Os causes segmentation faults (see bug #174576) |
81 |
- # checked for 1.2.1, gcc-4.2.3 |
82 |
+ # checked for 1.2.2, gcc-4.3.3 |
83 |
replace-flags -Os -O2 |
84 |
# ftracer buggy bug #237451 |
85 |
filter-flags -ftracer |
86 |
+ # -fdirectives-only also buggy bug #263257 |
87 |
+ filter-flags -fdirectives-only |
88 |
use sparc && append-cppflags "-DNO_ASM" |
89 |
use hppa && append-cppflags "-DNO_ASM" |
90 |
+} |
91 |
+ |
92 |
+ |
93 |
+src_prepare() { |
94 |
+ # avoid building tests and examples by default |
95 |
+ epatch "${FILESDIR}"/${P}-examples.patch |
96 |
+ # avoid installing dvi and html docs by default |
97 |
+ epatch "${FILESDIR}"/${P}-docs.patch |
98 |
+} |
99 |
+ |
100 |
+src_configure () { |
101 |
econf \ |
102 |
--libdir=/usr/$(get_libdir) \ |
103 |
- --datadir=/usr/share/doc/${PF} \ |
104 |
- || die "econf failed" |
105 |
- emake || die "emake failed" |
106 |
+ --datadir=/usr/share/doc/${PF} |
107 |
} |
108 |
|
109 |
src_install () { |
110 |
@@ -46,10 +50,10 @@ |
111 |
dodoc README ChangeLog TODO* NEWS |
112 |
if use doc; then |
113 |
dodoc doc/cln.ps |
114 |
- dohtml doc/cln/* |
115 |
+ dohtml doc/cln/* || die |
116 |
fi |
117 |
if use examples; then |
118 |
insinto /usr/share/doc/${PF} |
119 |
- doins -r examples |
120 |
+ doins -r examples || die |
121 |
fi |
122 |
} |