=x11-misc/xteddy-2.2 needs media-libs/imlib2[X], if not, fails to compile: x86_64-pc-linux-gnu-gcc -march=k8 -O2 -pipe -g0 -Wimplicit-function-declaration -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o xteddy xteddy.o -lImlib2 -lX11 xteddy.o: In function `main': xteddy.c:(.text+0x710): undefined reference to `imlib_context_set_display' xteddy.c:(.text+0x732): undefined reference to `imlib_context_set_visual' xteddy.c:(.text+0x754): undefined reference to `imlib_context_set_colormap' xteddy.c:(.text+0x890): undefined reference to `imlib_context_set_drawable' xteddy.c:(.text+0x8a5): undefined reference to `imlib_render_pixmaps_for_whole_image' xteddy.c:(.text+0x8e5): undefined reference to `XShapeCombineMask' collect2: ld returned 1 exit status make[1]: *** [xteddy] Error 1
It seems that a couple of additional USE-flags should be introduced and imlib2 dep will be something like 'media-libs/imlib2[X,jpeg?,png?]'
+ 12 Oct 2012; Sergey Popov <pinkbyte@gentoo.org> xteddy-2.2.ebuild: + Fix imlib2 dependency wrt bug #438102. Thanks to Vicente Olivert Riera for + discovering this issue + 12 Oct 2012; Sergey Popov <pinkbyte@gentoo.org> xteddy-2.2.ebuild: + Default xteddy image files format is png, so add apropriate USE-flag + dependency on imlib2 For now, X and png USE-flags are mandatory for imlib2 dependency