1 |
Andreas Voegele wrote: |
2 |
> |
3 |
> Why does xfree-4.1.0.ebuild insert "#define DefaultCCOptions -ansi" |
4 |
> into host.def? |
5 |
> |
6 |
> The "-ansi" option breaks the build of magicpoint which uses |
7 |
> "inline". There are three solutions: |
8 |
> |
9 |
> a) Remove "-ansi" from host.def |
10 |
> b) Remove "inline" from magicpoint-*/scanner.l |
11 |
> c) Build magicpoint with "try make ${MAKEOPTS} CCOPTIONS=" |
12 |
> |
13 |
> I think that there are some bugs in magicpoint-1.07a.ebuild: |
14 |
> |
15 |
> a) The following statements should be removed: |
16 |
> |
17 |
> source /etc/profile |
18 |
> export LIBS="-L/usr/lib/ -L/usr/X11R6/lib/ -lX11" |
19 |
> |
20 |
> b) I think that the following line should be replaced with the |
21 |
> second line: |
22 |
> |
23 |
> if [ `use gif` | `use ungif` ]; then |
24 |
> if [ `use gif` -o `use ungif` ]; then |
25 |
> |
26 |
> c) magicpoint should depend on media-libs/libpng and maybe also |
27 |
> on media-libs/freetype-1.3.1-r2. |
28 |
> |
29 |
> BTW, magicpoint-1.08a has been released. It's possible to build it by |
30 |
> renaming the ebuild file. I'm using the attached ebuild file to build |
31 |
> magicpoint-1.08a. |
32 |
> |
33 |
Thank you andreas, |
34 |
|
35 |
I just detected that magicpoint fails here, but did not have the time to |
36 |
fix it yet. |
37 |
|
38 |
bye achim~ |
39 |
|
40 |
> ------------------------------------------------------------------------ |
41 |
> Name: magicpoint-1.08a.ebuild |
42 |
> magicpoint-1.08a.ebuild Type: Plain Text (text/plain) |
43 |
> Description: magicpoint-1.08a.ebuild |