diff options
author | Bernd Waibel <waebbl-gentoo@posteo.net> | 2021-10-28 12:44:05 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-10-31 02:18:27 +0000 |
commit | 09efbdab3e99c0ae7c984dbffd0dc388aaa05d92 (patch) | |
tree | f658644752b71650f537a680ac24d279846300cc /media-gfx | |
parent | media-gfx/openvdb: patch to find numpy (diff) | |
download | gentoo-09efbdab3e99c0ae7c984dbffd0dc388aaa05d92.tar.gz gentoo-09efbdab3e99c0ae7c984dbffd0dc388aaa05d92.tar.bz2 gentoo-09efbdab3e99c0ae7c984dbffd0dc388aaa05d92.zip |
media-gfx/openvdb: patch to find numpy
- additionally pass -DPython_INCLUDE_DIR and -DPython_LIBRARY to help
find numpy
- remove flag-o-matic inherit, which isn't needed according to pkgcheck
- change the negation of the utils USE flag use for building the utilities
if the USE flag is set
Closes: https://bugs.gentoo.org/788886
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/22738
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/openvdb/openvdb-7.1.0-r3.ebuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/media-gfx/openvdb/openvdb-7.1.0-r3.ebuild b/media-gfx/openvdb/openvdb-7.1.0-r3.ebuild index 2c6c85a3efc3..38d612500fbf 100644 --- a/media-gfx/openvdb/openvdb-7.1.0-r3.ebuild +++ b/media-gfx/openvdb/openvdb-7.1.0-r3.ebuild @@ -5,7 +5,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{7,8,9} ) -inherit cmake flag-o-matic python-single-r1 +inherit cmake python-single-r1 DESCRIPTION="Library for the efficient manipulation of volumetric data" HOMEPAGE="https://www.openvdb.org" @@ -91,9 +91,9 @@ src_configure() { -DOPENVDB_ABI_VERSION_NUMBER="${version}" -DOPENVDB_BUILD_DOCS=$(usex doc) -DOPENVDB_BUILD_UNITTESTS=$(usex test) - -DOPENVDB_BUILD_VDB_LOD=$(usex !utils) - -DOPENVDB_BUILD_VDB_RENDER=$(usex !utils) - -DOPENVDB_BUILD_VDB_VIEW=$(usex !utils) + -DOPENVDB_BUILD_VDB_LOD=$(usex utils) + -DOPENVDB_BUILD_VDB_RENDER=$(usex utils) + -DOPENVDB_BUILD_VDB_VIEW=$(usex utils) -DOPENVDB_CORE_SHARED=ON -DOPENVDB_CORE_STATIC=$(usex static-libs) -DOPENVDB_ENABLE_RPATH=OFF @@ -109,6 +109,8 @@ src_configure() { -DUSE_NUMPY=$(usex numpy) -DPYOPENVDB_INSTALL_DIRECTORY="$(python_get_sitedir)" -DPython_EXECUTABLE="${PYTHON}" + -DPython_INCLUDE_DIR="$(python_get_includedir)" + -DPython_LIBRARY="$(python_get_library_path)" ) fi |