Currently setting or unsetting USE="static-libs" has no effect. --- a/media-libs/freeglut/freeglut-3.0.0.ebuild +++ b/media-libs/freeglut/freeglut-3.0.0.ebuild @@ -34,6 +34,7 @@ src_configure() { local mycmakeargs=( "-DFREEGLUT_GLES=OFF" + "-DFREEGLUT_BUILD_STATIC_LIBS=$(usex static-libs ON OFF)" ) # $(cmake-utils_use gles FREEGLUT_GLES) cmake-multilib_src_configure Reproducible: Always Steps to Reproduce: USE="static-libs" emerge media-libs/freeglut equery files media-libs/freeglut | sort > with USE="-static-libs" emerge media-libs/freeglut equery files media-libs/freeglut | sort > without diff with without Actual Results: No difference Expected Results: </usr/$(get_libdir)/libglut.a
Thank you for the patch. I have pushed it as commit 21afa1414ec6ba38849592861de78646aaa7e032 Author: Matt Turner <mattst88@gentoo.org> Date: Sat Aug 29 18:22:03 2015 -0700 media-libs/freeglut: Fix USE=-static-libs. Bug: https://bugs.gentoo.org/550146 which I now see did not handle --author=... properly. Sigh. Sorry about that. :(