1 |
Hi, |
2 |
|
3 |
sorry for posting here but gentoo-devhelp seems to be dead. |
4 |
|
5 |
|
6 |
I need an ebuild for libmypaint (GIT version) since this is required by the GIT version of Gimp. |
7 |
I use |
8 |
|
9 |
src_compile() { |
10 |
#workaround scons bug with locales. Bug #352700 |
11 |
export LANG="en_US.UTF-8" |
12 |
tc-export CC CXX |
13 |
myesconsargs=( "enable_gegl=true" "GEGL_VERSION=0.3" ) |
14 |
escons |
15 |
} |
16 |
|
17 |
src_install () { |
18 |
escons prefix="${D}/usr" install |
19 |
python_optimize "${D}"usr/share/${PN} |
20 |
} |
21 |
|
22 |
|
23 |
Unfortunately, the pkg-config files |
24 |
|
25 |
/usr/lib/pkgconfig/libmypaint-gegl.pc and /usr/lib/pkgconfig/libmypaint.pc |
26 |
|
27 |
still contain the paths during build, i.e. |
28 |
|
29 |
prefix=/var/tmp/portage/media-libs/libmypaint-9999/image//usr |
30 |
exec_prefix=/var/tmp/portage/media-libs/libmypaint-9999/image//usr |
31 |
libdir=/var/tmp/portage/media-libs/libmypaint-9999/image//usr/lib |
32 |
includedir=/var/tmp/portage/media-libs/libmypaint-9999/image//usr/include |
33 |
|
34 |
How can I fix this? |
35 |
|
36 |
Many thanks for a hint, |
37 |
Helmut |