summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-10-31 08:22:58 +0000
committerSam James <sam@gentoo.org>2021-10-31 08:37:32 +0000
commit31fc07b42f9c2ffaa7bdba90b81f14215f2a454e (patch)
tree69ff1c4fffdb73d0b27707b0a7c0ad058b764982 /media-gfx/openvdb
parentmedia-libs/openimageio: work towards enabling test suite in 2.3.8.0 (diff)
downloadgentoo-31fc07b42f9c2ffaa7bdba90b81f14215f2a454e.tar.gz
gentoo-31fc07b42f9c2ffaa7bdba90b81f14215f2a454e.tar.bz2
gentoo-31fc07b42f9c2ffaa7bdba90b81f14215f2a454e.zip
media-gfx/openvdb: find Imath correctly
Closes: https://bugs.gentoo.org/820929 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-gfx/openvdb')
-rw-r--r--media-gfx/openvdb/openvdb-9.0.0.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/media-gfx/openvdb/openvdb-9.0.0.ebuild b/media-gfx/openvdb/openvdb-9.0.0.ebuild
index 0ab627d92f6d..64c112a260ef 100644
--- a/media-gfx/openvdb/openvdb-9.0.0.ebuild
+++ b/media-gfx/openvdb/openvdb-9.0.0.ebuild
@@ -71,6 +71,12 @@ pkg_setup() {
use python && python-single-r1_pkg_setup
}
+src_prepare() {
+ sed -i -e 's:#include <Imath/half.h>:#include <Imath-3/half.h>:' openvdb/openvdb/Types.h || die
+
+ cmake_src_prepare
+}
+
src_configure() {
local myprefix="${EPREFIX}/usr/"