Created attachment 305419 [details, diff] Patch to libaio-0.3.109-r2.ebuild to avoid unnecessary compilation of libaio.a In dev-libs/libaio-0.3.109-r2, which is currently the newest libaio in tree, the static library libaio.a is always built, always copied into $DESTDIR, and then conditionally deleted if ! use static-libs. The static library is used by the internal test harness even without static-libs. I suggest applying the attached patch, which will avoid unnecessarily installing libaio.a into $DESTDIR and even avoid building it if the test harness is not enabled.
Thanks Kevin. I've lately been quite unhappy for people adding USE=static-libs without fixing the compile phase with it. ++ :)
+ 17 Mar 2012; Pacho Ramos <pacho@gentoo.org> -libaio-0.3.109-r1.ebuild, + libaio-0.3.109-r3.ebuild: + Don't build static libs, bug #408265 by Kevin Pyle; drop old. +