commit:     ec86df92464abd1cd60e9675e9f84f83a9e6e76b
Author:     Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net>
AuthorDate: Sat Jan 15 20:50:21 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 15 22:14:48 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec86df92

sci-libs/opencascade: don't pass USE_OPENGL option

The option defaults to on and was erroneously passed as with the
invert value of the gles2 USE flag, which lead to only libTKOpenGles
library being built, but no libTKOpenGL library, resulting in build
failures in revdeps.

Closes: https://bugs.gentoo.rog/831069
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/opencascade/opencascade-7.6.0-r1.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sci-libs/opencascade/opencascade-7.6.0-r1.ebuild 
b/sci-libs/opencascade/opencascade-7.6.0-r1.ebuild
index 2c03ea0ead25..595c605bc985 100644
--- a/sci-libs/opencascade/opencascade-7.6.0-r1.ebuild
+++ b/sci-libs/opencascade/opencascade-7.6.0-r1.ebuild
@@ -105,7 +105,6 @@ src_configure() {
                -DUSE_FREEIMAGE=$(usex freeimage)
                -DUSE_FREETYPE=ON
                -DUSE_GLES2=$(usex gles2)
-               -DUSE_OPENGL=$(usex !gles2)
                # no package in tree
                -DUSE_OPENVR=OFF
                -DUSE_RAPIDJSON=$(usex json)

Reply via email to