On Tue, Jun 12, 2001 at 12:20:41PM +0200, Achim Gottinger wrote: > Andreas Voegele wrote: > > > > Why does xfree-4.1.0.ebuild insert "#define DefaultCCOptions -ansi" > > into host.def? > > > > The "-ansi" option breaks the build of magicpoint which uses > > "inline". There are three solutions: > > > > a) Remove "-ansi" from host.def > > b) Remove "inline" from magicpoint-*/scanner.l > > c) Build magicpoint with "try make ${MAKEOPTS} CCOPTIONS=" > > > > I think that there are some bugs in magicpoint-1.07a.ebuild: > > > > a) The following statements should be removed: > > > > source /etc/profile > > export LIBS="-L/usr/lib/ -L/usr/X11R6/lib/ -lX11" > > > > b) I think that the following line should be replaced with the > > second line: > > > > if [ `use gif` | `use ungif` ]; then > > if [ `use gif` -o `use ungif` ]; then > > > > c) magicpoint should depend on media-libs/libpng and maybe also > > on media-libs/freetype-1.3.1-r2. > > > > BTW, magicpoint-1.08a has been released. It's possible to build it by > > renaming the ebuild file. I'm using the attached ebuild file to build > > magicpoint-1.08a. > > > Thank you andreas, > > I just detected that magicpoint fails here, but did not have the time to > fix it yet. I'll fix the magicpoint ebuild and add the 1.08 ebuild. Thanks for pointing this out; it was one of my earlier ebuilds and I obviously was a bit clueless... Achim, do you think i should patch magicpoint so it doesn't use the inline stuff or should the xfree86 build change? Regards, -- AJ Lewis Sistina Software Inc. Voice: 612-638-0500 1313 5th St SE, Suite 111 Fax: 612-638-0500 Minneapolis, MN 55414 E-Mail: lewis@sistina.com http://www.sistina.com Current GPG fingerprint = 3B5F 6011 5216 76A5 2F6B 52A0 941E 1261 0029 2648 Get my key at: http://www.sistina.com/~lewis/gpgkey (Unfortunately, the PKS-type keyservers do not work with multiple sub-keys) -----Begin Obligatory Humorous Quote---------------------------------------- Error: Keyboard not attached. Press F1 to continue. -----End Obligatory Humorous Quote------------------------------------------