media-libs/freeglut: Fix USE=-static-libs.
authorMatt Turner <mattst88@gentoo.org>
Sun, 30 Aug 2015 01:22:03 +0000 (18:22 -0700)
committerMatt Turner <mattst88@gentoo.org>
Sun, 30 Aug 2015 01:22:44 +0000 (18:22 -0700)
Bug: https://bugs.gentoo.org/550146

media-libs/freeglut/freeglut-3.0.0.ebuild

index 0a07712eb63c50a3adaf9b517509c0e8aa2d6741..5e57b8b4b5016edb0ec0f252d9869b92ba42957e 100644 (file)
@@ -34,6 +34,7 @@ HTML_DOCS=( doc/. )
 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