1 |
On 28-07-2009 00:23:31 -0400, Michael Yang wrote: |
2 |
> Since I unfortunately lack the effort to dig around in the original |
3 |
> ebuild/numpy/python scripts, I made a single-line change to the |
4 |
> numpy-1.3.0.ebuild file: |
5 |
> |
6 |
> --- numpy-1.3.0.ebuild.orig 2009-07-28 04:01:47 -0400 |
7 |
> +++ numpy-1.3.0.ebuild 2009-07-28 04:07:27 -0400 |
8 |
> @@ -48,6 +48,9 @@ |
9 |
> epatch "${FILESDIR}/${P}-parisc.patch" # bug 277438 |
10 |
> epatch "${FILESDIR}/${P}-alpha.patch" # bug 277438 |
11 |
> |
12 |
> + # copy numpy/core/include/numpy/fenv/fenv.h to numpy/core/include |
13 |
> + cp ${S}/numpy/core/include/numpy/fenv/fenv.h ${S}/numpy/core/include |
14 |
> + |
15 |
> # Gentoo patch for ATLAS library names |
16 |
> sed -i \ |
17 |
> -e "s:'f77blas':'blas':g" \ |
18 |
> |
19 |
> which just copies the fenv.h to the numpy/core/include directory so |
20 |
> that -Inumpy/core/include will pick it up. This is a hack but |
21 |
> whatever, it works in my overlay. I'm open to better practices and |
22 |
> perhaps a solution that will throw the proper |
23 |
> -Inumpy/core/include/numpy/fenv into the build process. |
24 |
|
25 |
Hmm, this makes me think that perhaps it's easier to patch the |
26 |
#include <fenv.h> |
27 |
into |
28 |
#include <fenv/fenv.h> |
29 |
|
30 |
that should make it work, and even avoid the entire conflict with |
31 |
/usr/include/fenv.h |
32 |
|
33 |
|
34 |
-- |
35 |
Fabian Groffen |
36 |
Gentoo on a different level |