1 |
grozin 09/04/24 19:08:19 |
2 |
|
3 |
Modified: ChangeLog mathgl-1.8.1.ebuild |
4 |
Log: |
5 |
Fixed bug #267061 |
6 |
(Portage version: 2.2_rc31/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.5 sci-libs/mathgl/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/mathgl/ChangeLog?rev=1.5&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/mathgl/ChangeLog?rev=1.5&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/mathgl/ChangeLog?r1=1.4&r2=1.5 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/mathgl/ChangeLog,v |
18 |
retrieving revision 1.4 |
19 |
retrieving revision 1.5 |
20 |
diff -u -r1.4 -r1.5 |
21 |
--- ChangeLog 13 Apr 2009 13:09:29 -0000 1.4 |
22 |
+++ ChangeLog 24 Apr 2009 19:08:19 -0000 1.5 |
23 |
@@ -1,6 +1,10 @@ |
24 |
# ChangeLog for sci-libs/mathgl |
25 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/ChangeLog,v 1.4 2009/04/13 13:09:29 grozin Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/ChangeLog,v 1.5 2009/04/24 19:08:19 grozin Exp $ |
28 |
+ |
29 |
+ 24 Apr 2009; Andrey Grozin <grozin@g.o> |
30 |
+ +files/mathgl-1.8.1-gcc43.patch, mathgl-1.8.1: |
31 |
+ Fixed bug #267061 |
32 |
|
33 |
*mathgl-1.8.1 (13 Apr 2009) |
34 |
|
35 |
|
36 |
|
37 |
|
38 |
1.2 sci-libs/mathgl/mathgl-1.8.1.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/mathgl/mathgl-1.8.1.ebuild?rev=1.2&view=markup |
41 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/mathgl/mathgl-1.8.1.ebuild?rev=1.2&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/mathgl/mathgl-1.8.1.ebuild?r1=1.1&r2=1.2 |
43 |
|
44 |
Index: mathgl-1.8.1.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/mathgl/mathgl-1.8.1.ebuild,v |
47 |
retrieving revision 1.1 |
48 |
retrieving revision 1.2 |
49 |
diff -u -r1.1 -r1.2 |
50 |
--- mathgl-1.8.1.ebuild 13 Apr 2009 13:09:29 -0000 1.1 |
51 |
+++ mathgl-1.8.1.ebuild 24 Apr 2009 19:08:19 -0000 1.2 |
52 |
@@ -1,6 +1,6 @@ |
53 |
# Copyright 1999-2009 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/mathgl-1.8.1.ebuild,v 1.1 2009/04/13 13:09:29 grozin Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/mathgl-1.8.1.ebuild,v 1.2 2009/04/24 19:08:19 grozin Exp $ |
57 |
EAPI=2 |
58 |
WX_GTK_VER=2.8 |
59 |
inherit autotools wxwidgets python versionator toolchain-funcs |
60 |
@@ -38,6 +38,23 @@ |
61 |
fi |
62 |
} |
63 |
|
64 |
+src_prepare() { |
65 |
+ # bug #267061 |
66 |
+ epatch "${FILESDIR}"/${P}-gcc43.patch |
67 |
+ |
68 |
+ # correct location of numpy/arrayobject.h |
69 |
+ if use python; then |
70 |
+ local numpy_h |
71 |
+ numpy_h=$(python_get_sitedir)/numpy/core/include/numpy/arrayobject.h |
72 |
+ einfo "fixing numpy.i" |
73 |
+ sed -e "s|<numpy/arrayobject.h>|\"${numpy_h}\"|" \ |
74 |
+ -i lang/numpy.i \ |
75 |
+ || die "sed failed" |
76 |
+ fi |
77 |
+ |
78 |
+ eautoreconf |
79 |
+} |
80 |
+ |
81 |
src_configure() { |
82 |
econf --docdir="${ROOT}"usr/share/doc/${PF} \ |
83 |
$(use_enable glut) \ |
84 |
@@ -53,20 +70,6 @@ |
85 |
$(use_enable doc docs) |
86 |
} |
87 |
|
88 |
-src_prepare() { |
89 |
- # correct location of numpy/arrayobject.h |
90 |
- if use python; then |
91 |
- local numpy_h |
92 |
- numpy_h=$(python_get_sitedir)/numpy/core/include/numpy/arrayobject.h |
93 |
- einfo "fixing numpy.i" |
94 |
- sed -e "s|<numpy/arrayobject.h>|\"${numpy_h}\"|" \ |
95 |
- -i lang/numpy.i \ |
96 |
- || die "sed failed" |
97 |
- fi |
98 |
- |
99 |
- eautoreconf |
100 |
-} |
101 |
- |
102 |
src_compile() { |
103 |
# see bug #249627 |
104 |
local JOBS |