1 |
jlec 12/07/04 06:27:07 |
2 |
|
3 |
Modified: frobby-0.9.0.ebuild ChangeLog metadata.xml |
4 |
Log: |
5 |
sci-mathematics/frobby: Fix for build with gcc-4.7, #424663; handle static-libs |
6 |
|
7 |
(Portage version: 2.2.0_alpha115/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.5 sci-mathematics/frobby/frobby-0.9.0.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/frobby/frobby-0.9.0.ebuild?rev=1.5&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/frobby/frobby-0.9.0.ebuild?rev=1.5&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/frobby/frobby-0.9.0.ebuild?r1=1.4&r2=1.5 |
15 |
|
16 |
Index: frobby-0.9.0.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/frobby/frobby-0.9.0.ebuild,v |
19 |
retrieving revision 1.4 |
20 |
retrieving revision 1.5 |
21 |
diff -u -r1.4 -r1.5 |
22 |
--- frobby-0.9.0.ebuild 18 May 2012 16:32:13 -0000 1.4 |
23 |
+++ frobby-0.9.0.ebuild 4 Jul 2012 06:27:07 -0000 1.5 |
24 |
@@ -1,19 +1,19 @@ |
25 |
# Copyright 1999-2012 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/frobby/frobby-0.9.0.ebuild,v 1.4 2012/05/18 16:32:13 tomka Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/frobby/frobby-0.9.0.ebuild,v 1.5 2012/07/04 06:27:07 jlec Exp $ |
29 |
|
30 |
EAPI=4 |
31 |
|
32 |
inherit eutils |
33 |
|
34 |
-DESCRIPTION="Frobby is a software system and project for computations with monomial ideals" |
35 |
+DESCRIPTION="Software system and project for computations with monomial ideals" |
36 |
HOMEPAGE="http://www.broune.com/frobby/" |
37 |
SRC_URI="http://www.broune.com/frobby/frobby_v${PV}.tar.gz" |
38 |
|
39 |
LICENSE="GPL-2" |
40 |
SLOT="0" |
41 |
KEYWORDS="amd64 x86" |
42 |
-IUSE="doc" |
43 |
+IUSE="doc static-libs" |
44 |
|
45 |
RDEPEND="dev-libs/gmp[cxx]" |
46 |
DEPEND="${RDEPEND} |
47 |
@@ -22,9 +22,11 @@ |
48 |
S="${WORKDIR}/frobby_v${PV}" |
49 |
|
50 |
src_prepare() { |
51 |
- epatch "${FILESDIR}/${PN}-cflags-no-strip.patch" |
52 |
+ epatch \ |
53 |
+ "${FILESDIR}/${PN}-cflags-no-strip.patch" \ |
54 |
+ "${FILESDIR}/${PN}-gcc-4.7.patch" |
55 |
# CXXFLAGS are called CPPFLAGS |
56 |
- sed "s/CPPFLAGS/CXXFLAGS/" -i Makefile |
57 |
+ sed "s/CPPFLAGS/CXXFLAGS/" -i Makefile || die |
58 |
} |
59 |
|
60 |
src_compile() { |
61 |
@@ -32,20 +34,18 @@ |
62 |
# breaking cross-compile. |
63 |
CXX=$(tc-getCXX) emake |
64 |
CXX=$(tc-getCXX) emake library |
65 |
- if use doc; then |
66 |
- emake docPdf |
67 |
- fi |
68 |
+ use doc && emake docPdf |
69 |
} |
70 |
|
71 |
src_install() { |
72 |
dobin bin/frobby |
73 |
- dolib.a bin/libfrobby.a |
74 |
+ use static-libs && dolib.a bin/libfrobby.a |
75 |
+ |
76 |
insinto /usr/include |
77 |
doins src/frobby.h |
78 |
- dodir /usr/include/"${PN}" |
79 |
+ |
80 |
insinto /usr/include/"${PN}" |
81 |
doins src/stdinc.h |
82 |
- if use doc; then |
83 |
- dodoc bin/manual.pdf |
84 |
- fi |
85 |
+ |
86 |
+ use doc && dodoc bin/manual.pdf |
87 |
} |
88 |
|
89 |
|
90 |
|
91 |
1.12 sci-mathematics/frobby/ChangeLog |
92 |
|
93 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/frobby/ChangeLog?rev=1.12&view=markup |
94 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/frobby/ChangeLog?rev=1.12&content-type=text/plain |
95 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/frobby/ChangeLog?r1=1.11&r2=1.12 |
96 |
|
97 |
Index: ChangeLog |
98 |
=================================================================== |
99 |
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/frobby/ChangeLog,v |
100 |
retrieving revision 1.11 |
101 |
retrieving revision 1.12 |
102 |
diff -u -r1.11 -r1.12 |
103 |
--- ChangeLog 18 May 2012 16:32:13 -0000 1.11 |
104 |
+++ ChangeLog 4 Jul 2012 06:27:07 -0000 1.12 |
105 |
@@ -1,6 +1,10 @@ |
106 |
# ChangeLog for sci-mathematics/frobby |
107 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
108 |
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/frobby/ChangeLog,v 1.11 2012/05/18 16:32:13 tomka Exp $ |
109 |
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/frobby/ChangeLog,v 1.12 2012/07/04 06:27:07 jlec Exp $ |
110 |
+ |
111 |
+ 04 Jul 2012; Justin Lecher <jlec@g.o> frobby-0.9.0.ebuild, |
112 |
+ +files/frobby-gcc-4.7.patch, metadata.xml: |
113 |
+ Fix for build with gcc-4.7, #424663; handle static-libs |
114 |
|
115 |
18 May 2012; Thomas Kahle <tomka@g.o> -files/frobby-latex.patch, |
116 |
-files/frobby-useless-checks.patch, -frobby-0.8.2-r1.ebuild, |
117 |
|
118 |
|
119 |
|
120 |
1.2 sci-mathematics/frobby/metadata.xml |
121 |
|
122 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/frobby/metadata.xml?rev=1.2&view=markup |
123 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/frobby/metadata.xml?rev=1.2&content-type=text/plain |
124 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/frobby/metadata.xml?r1=1.1&r2=1.2 |
125 |
|
126 |
Index: metadata.xml |
127 |
=================================================================== |
128 |
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/frobby/metadata.xml,v |
129 |
retrieving revision 1.1 |
130 |
retrieving revision 1.2 |
131 |
diff -u -r1.1 -r1.2 |
132 |
--- metadata.xml 6 Nov 2010 17:55:32 -0000 1.1 |
133 |
+++ metadata.xml 4 Jul 2012 06:27:07 -0000 1.2 |
134 |
@@ -1,12 +1,12 @@ |
135 |
<?xml version="1.0" encoding="UTF-8"?> |
136 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
137 |
<pkgmetadata> |
138 |
-<maintainer> |
139 |
- <email>tomka@g.o</email> |
140 |
- <name>Thomas Kahle</name> |
141 |
-</maintainer> |
142 |
-<herd>sci</herd> |
143 |
-<longdescription lang="en"> |
144 |
+ <maintainer> |
145 |
+ <email>tomka@g.o</email> |
146 |
+ <name>Thomas Kahle</name> |
147 |
+ </maintainer> |
148 |
+ <herd>sci</herd> |
149 |
+ <longdescription lang="en"> |
150 |
Frobby is a software system and library for computations with monomial ideals. |
151 |
</longdescription> |
152 |
</pkgmetadata> |