What is the reason for agg to pull in sdl anyway even if the useflag is -sdl? Reproducible: Always Steps to Reproduce:
Because it appears twice in the dependencies of agg. One time in RDEPEND and the second time in DEPEND. The first is removed when setting USE=-sdl" while the second is not. So removing the second entry should work. One needs to figure out if sdl is a runtime or build time dependency though. RDEPEND="sdl? ( >=media-libs/libsdl-1.2.0 ) X? ( x11-libs/libX11 ) truetype? ( >=media-libs/freetype-2 )" # sdl.m4 missing in the tarball DEPEND="media-libs/libsdl dev-util/pkgconfig ${RDEPEND}"
I'm installing a system now, will give a shot if it can compile without the DEPEND.
configure.in:103: error: possibly undefined macro: AM_PATH_SDL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation.
Thanks for reporting. Assigning to maintainer. @Stefan, this looks like it should be reported upstream.
So the DEPEND is correct, isn't it? USE flags are for enabling or disabling features, not dependencies.
No bug here. Resolving as INVALID.
Why not just --disable-sdl and remove the runtime dependency?