Created attachment 283257 [details, diff] patch for glib-2.28.8.ebuild Three days ago, Samuli modified the dev-libs/glib-2.28.8 ebuild to unconditionally remove .la files in src_install; see http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/glib/glib-2.28.8.ebuild?r1=1.10&r2=1.11 However, glib has a static-libs USE flag, and when it's enabled (and it is enabled by default), glib will install static libraries. If a package installs static libraries, then, unless I am entirely mistaken, it should also install .la files to allow static linking using libtool. I believe that the ebuild should be changed to only punt .la files when USE=-static-libs. My proposed patch is attached.
I'm thinking we should also not do IUSE=+static-libs. But we should probably do that in the ~arch tree, with 2.29/30 perhaps. There's unknown breakage without IUSE=+static-libs.
Alrighty, fixed. Thanks for reporting!
reopneing as the first commit was correct, and glib-2.0 has proper pkg-config files making all .la files redudant in any case please revert
+ 14 Aug 2011; Samuli Suominen <ssuominen@gentoo.org> glib-2.28.8.ebuild: + Revert last libtool file preservation since we have usable pkg-config files + wrt #379115.