media-libs/opencolorio: fix OCIO_PYTHON_VERSION

The OCIO_PYTHON_VERSION cmake argument needs to contain only the version
number (i.e. 3.9), not EPYTHON (i.e. python3.9).

Bug: https://bugs.gentoo.org/819132
Signed-off-by: Marek Behún <kabel@kernel.org>
Closes: https://github.com/gentoo/gentoo/pull/22654
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Marek Behún
2021-10-22 02:47:03 +00:00
committed by Sam James
parent 4630ec6a49
commit 7d55f4a0a5
@@ -77,7 +77,7 @@ src_configure() {
-DOCIO_BUILD_DOCS=$(usex doc)
-DOCIO_BUILD_APPS=$(usex opengl)
-DOCIO_BUILD_PYTHON=$(usex python)
-DOCIO_PYTHON_VERSION="${EPYTHON}"
-DOCIO_PYTHON_VERSION="${EPYTHON/python/}"
-DOCIO_BUILD_JAVA=OFF
-DOCIO_USE_SSE=$(usex cpu_flags_x86_sse2)
-DOCIO_BUILD_TESTS=$(usex test)