On Sun, 2002-01-13 at 21:22, Grant Goodyear wrote: > > Some packages look for files in the wrong place, e.g. /usr/include/libxml > > for files which gentoo puts in /usr/include/libxml2/libxml, and don't > > have configure options to specify the correct path. One can fix this > > either by patching Makefiles or by creating symlinks. I normally do > > the latter. My question is: What should one do in an ebuild? Does > > gentoo have a policy about how to fix these packages? > > In general we prefer to patch the Makefiles (or add the correct flag > to ./configure). > You can also do something like: src_compile(){ CFLAGS="${CFLAGS} -I/usr/include/libxml2" ./configure ...... } Greetings, -- Martin Schlemmer Gentoo Linux Developer, Desktop Team Developer Cape Town, South Africa