diff --git a/media-gfx/openvdb/openvdb-7.1.0.recipe b/media-gfx/openvdb/openvdb-7.1.0.recipe index 1bb0ee7ee..f4d26da7b 100644 --- a/media-gfx/openvdb/openvdb-7.1.0.recipe +++ b/media-gfx/openvdb/openvdb-7.1.0.recipe @@ -5,7 +5,7 @@ time-varying, volumetric data discretized on a three-dimensional grid." HOMEPAGE="https://www.openvdb.org/" COPYRIGHT="2012-2019 DreamWorks Animation LLC" LICENSE="MPL v2.0" -REVISION="2" +REVISION="3" SOURCE_URI="https://github.com/AcademySoftwareFoundation/openvdb/archive/v$portVersion.tar.gz" CHECKSUM_SHA256="0c3588c1ca6e647610738654ec2c6aaf41a203fd797f609fbeab1c9f7c3dc116" @@ -22,6 +22,8 @@ fi libVersion="$portVersion" libVersionCompat="$libVersion compat >= ${libVersion%.*}" +boostVersion="1.88.0" + PROVIDES=" openvdb$secondaryArchSuffix = $portVersion lib:libopenvdb$secondaryArchSuffix = $libVersionCompat @@ -67,9 +69,9 @@ REQUIRES_devel=" BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libblosc$secondaryArchSuffix - devel:libboost_iostreams$secondaryArchSuffix >= 1.69.0 - devel:libboost_system$secondaryArchSuffix >= 1.69.0 - devel:libboost_thread$secondaryArchSuffix >= 1.69.0 + devel:libboost_iostreams$secondaryArchSuffix >= $boostVersion + devel:libboost_system$secondaryArchSuffix >= $boostVersion + devel:libboost_thread$secondaryArchSuffix >= $boostVersion devel:libcppunit$secondaryArchSuffix devel:libHalf_2_4$secondaryArchSuffix devel:libtbb$secondaryArchSuffix @@ -87,14 +89,17 @@ defineDebugInfoPackage openvdb$secondaryArchSuffix \ BUILD() { - cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \ + cmake -B build -S . -DCMAKE_BUILD_TYPE=RelWithDebInfo \ $cmakeDirArgs \ -DCMAKE_INSTALL_BINDIR=$commandBinDir \ + -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ -DTBB_ROOT="$portPackageLinksDir/devel~libtbb$secondaryArchSuffix/$relativeDevelopDir/" \ -DTBB_INCLUDEDIR="$portPackageLinksDir/devel~libtbb$secondaryArchSuffix/$relativeIncludeDir/" \ -DTBB_LIBRARYDIR="$portPackageLinksDir/devel~libtbb$secondaryArchSuffix/$relativeDevelopLibDir/" \ -DOPENVDB_BUILD_PYTHON_MODULE=OFF \ - -DOPENVDB_CORE_STATIC=OFF + -DOPENVDB_CORE_STATIC=OFF \ + -Wno-dev + make -C build $jobArgs }