diff options
author | Bernd Waibel <waebbl-gentoo@posteo.net> | 2022-01-26 18:03:21 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-01-28 07:53:27 +0000 |
commit | 1f693e0323f6bf0be380c1dfbedab4fe22561ac7 (patch) | |
tree | 104f983d2bf1e226ecbc223c7e36c62a0dc17f88 /sci-libs/vtk | |
parent | dev-libs/userspace-rcu: add comment re autoreconf (diff) | |
download | gentoo-1f693e0323f6bf0be380c1dfbedab4fe22561ac7.tar.gz gentoo-1f693e0323f6bf0be380c1dfbedab4fe22561ac7.tar.bz2 gentoo-1f693e0323f6bf0be380c1dfbedab4fe22561ac7.zip |
sci-libs/vtk: fix build with USE=offscreen
The package can be built with either USE=offscreen, or with USE=X
enabled, but not with both simultaneously.
Closes: https://bugs.gentoo.org/830774
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/23970
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs/vtk')
-rw-r--r-- | sci-libs/vtk/vtk-9.0.3-r4.ebuild (renamed from sci-libs/vtk/vtk-9.0.3-r3.ebuild) | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sci-libs/vtk/vtk-9.0.3-r3.ebuild b/sci-libs/vtk/vtk-9.0.3-r4.ebuild index db7df9ecb55d..578cf8ade8fb 100644 --- a/sci-libs/vtk/vtk-9.0.3-r3.ebuild +++ b/sci-libs/vtk/vtk-9.0.3-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -47,6 +47,7 @@ REQUIRED_USE=" qt5? ( X rendering ) tk? ( X rendering python ) web? ( python ) + ^^ ( X offscreen ) " RDEPEND=" @@ -358,9 +359,9 @@ src_configure() { if use offscreen; then mycmakeargs+=( - -DVTK_OPENGL_HAS_OSMESA=ON -DVTK_DEFAULT_RENDER_WINDOW_OFFSCREEN=ON -DVTK_DEFAULT_RENDER_WINDOW_HEADLESS=ON + -DVTK_OPENGL_HAS_OSMESA=ON ) fi |