summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Grigo <agrigo2001@yahoo.com.au>2020-08-29 18:48:16 +1000
committerSam James <sam@gentoo.org>2020-09-09 00:59:17 +0000
commitfbc9f9ae432d2a6a45c2618f217302350cb3ddfc (patch)
treecb4f99794fb5feda4c4cf75c7d07d29c2ac01b85 /media-gfx
parentdev-python/jaraco-context: Stabilize 3.0.0 arm, #741230 (diff)
downloadgentoo-fbc9f9ae432d2a6a45c2618f217302350cb3ddfc.tar.gz
gentoo-fbc9f9ae432d2a6a45c2618f217302350cb3ddfc.tar.bz2
gentoo-fbc9f9ae432d2a6a45c2618f217302350cb3ddfc.zip
media-gfx/openvdb: Use full path for Python_EXECUTABLE
Openvdb fails to configure with numpy enabled when Python_EXECUTABLE is set using ${EPYTHON} as it is unable to find the required python components. The cmake docs state that Python_EXECUTABLE must be set to the PATH of the python interpreter. See https://cmake.org/cmake/help/v3.16/module/FindPython.html This means that it must be set to ${PYTHON} which contains the absolute path in python-r1, rather than ${EPYTHON} which only contains the executable name. Doing so resolves bug 738928. Signed-off-by: Adrian Grigo <agrigo2001@yahoo.com.au> Closes: https://bugs.gentoo.org/738928 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Closes: https://github.com/gentoo/gentoo/pull/17310 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/openvdb/openvdb-7.0.0-r1.ebuild2
-rw-r--r--media-gfx/openvdb/openvdb-7.1.0-r1.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/media-gfx/openvdb/openvdb-7.0.0-r1.ebuild b/media-gfx/openvdb/openvdb-7.0.0-r1.ebuild
index 2e79cc7f27c1..ca09736ee52a 100644
--- a/media-gfx/openvdb/openvdb-7.0.0-r1.ebuild
+++ b/media-gfx/openvdb/openvdb-7.0.0-r1.ebuild
@@ -109,7 +109,7 @@ src_configure() {
-DOPENVDB_BUILD_PYTHON_MODULE=ON
-DUSE_NUMPY=$(usex numpy)
-DPYOPENVDB_INSTALL_DIRECTORY="$(python_get_sitedir)"
- -DPython_EXECUTABLE="${EPYTHON}"
+ -DPython_EXECUTABLE="${PYTHON}"
)
fi
diff --git a/media-gfx/openvdb/openvdb-7.1.0-r1.ebuild b/media-gfx/openvdb/openvdb-7.1.0-r1.ebuild
index 4ad1b89c2ce6..89a658ed62e1 100644
--- a/media-gfx/openvdb/openvdb-7.1.0-r1.ebuild
+++ b/media-gfx/openvdb/openvdb-7.1.0-r1.ebuild
@@ -107,7 +107,7 @@ src_configure() {
-DOPENVDB_BUILD_PYTHON_MODULE=ON
-DUSE_NUMPY=$(usex numpy)
-DPYOPENVDB_INSTALL_DIRECTORY="$(python_get_sitedir)"
- -DPython_EXECUTABLE="${EPYTHON}"
+ -DPython_EXECUTABLE="${PYTHON}"
)
fi