When built with USE="dedicated", games-strategy/wesnoth-1.4 doesn't depend on media-libs/sdl-image, but it checks for sdl-image having been built with USE="png". The correct behaviour is to both depend on sdl-image and check for png support independently of dedicated being set, otherwise emerging wesnoth will fail (it will die in either ebuild checks or configure). The same applies to media-libs/sdl-mixer and vorbis use flag, but not to media-libs/libsdl and X use flag, as stated in bug #193169.
Created attachment 145912 [details, diff] Proposed patch
yeah, I hope they fix that in a later release. worked around in cvs. thanks for the bug report.
>yeah, I hope they fix that in a later release. worked around in cvs. thanks >for the bug report. Yes, we will probably fix this by switching the build system to "something else" (not decided yet what to chose, current options are scons and cmake, have to evaluate which suits us better) in the next development series. In general some of our dependencies are rather ugly and could use a cleanup... ;)