The actual ebuild only depends on gd[jpeg] if stats use is enabled, but without gd[png] the result is: Linking cas cas-graphics.o: In function `createimage': graphics.c:(.text+0x70): undefined reference to `gdImageCreateFromPng' graphics.c:(.text+0x130): undefined reference to `gdImagePng' collect2: error: ld returned 1 exit status
Thanks for the report! commit 3360cea4a297c59e3983f29ee2f370300cfcb2d0 Author: Michael Orlitzky <mjo@gentoo.org> Date: Sun Mar 26 22:18:52 2017 -0400 net-p2p/amule: new revision to fix media-libs/gd USE dependency. With USE=stats, amule needs gd to be built with PNG support. There was already a USE dependency for JPEG support, and this revision adds it for PNG, too. Gentoo-Bug: 612386