...or at least ebuild should remove all the stray *.o files and redundant static modules. Right now, it looks like a giant hack: to ensure everything is in the static lib, including modules, upstream in the final step does: libdirectfb_fixed.a: .libs/libdirectfb.a rm -f libdirectfb_fixed.a ${AR} cru libdirectfb_fixed.a `find . -name "*.o" | grep -v '.libs'` ${RANLIB} libdirectfb_fixed.a cp -pf libdirectfb_fixed.a .libs/libdirectfb.a While previously doing a lot of foo_DATA = = $(foo_LTLIBRARIES:.la=.o) which not only makes separate static modules redundant, but also results in a lot of *.o files being needlessly installed. There's also a minor issue of : * QA Notice: USE Flag '_none' not in IUSE for dev-libs/DirectFB-1.4.2 but that's a small fry compared to the first thing. (BTW, 1.2.7 had this problem too) On unrelated note - I see this this lib as a major argument for removing la files by default.
upstream has a bug tracker. use it. the '_none' issue is fixed in cvs: http://sources.gentoo.org/dev-libs/DirectFB/DirectFB-1.4.2.ebuild?r1=1.2&r2=1.3