<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/7ebb0c22d714e02d673952e7bf1c4312129def4f">https://github.com/macports/macports-ports/commit/7ebb0c22d714e02d673952e7bf1c4312129def4f</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 7ebb0c22d714e02d673952e7bf1c4312129def4f
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Sat Jun 5 16:27:46 2021 +0100
<span style='display:block; white-space:pre;color:#404040;'> openvdb: migrate to boost PG
</span>---
graphics/openvdb/Portfile | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/openvdb/Portfile b/graphics/openvdb/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 93fec75dbf4..7ff06637521 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/openvdb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/openvdb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,9 +5,10 @@ PortGroup github 1.0
</span> PortGroup cmake 1.1
PortGroup active_variants 1.1
PortGroup compiler_blacklist_versions 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup boost 1.0
</span>
github.setup AcademySoftwareFoundation openvdb 7.2.3 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> homepage https://www.openvdb.org/
categories graphics
license {MPL-2 LGPL-2.1+}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -41,7 +42,6 @@ configure.env-append BLOSC_ROOT=${prefix} \
</span> depends_build-append port:pkgconfig
depends_lib-append port:zlib \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:boost \
</span> port:blosc \
port:tbb \
path:lib/pkgconfig/glfw3.pc:glfw \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -74,8 +74,8 @@ foreach s ${pythons_suffixes} {
</span> set c [lreplace ${pythons_ports} ${i} ${i}]
variant ${p} description "Build the Python ${v} bindings" conflicts {*}${c} "
depends_lib-append port:${p} \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${s}-numpy \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:boost-numpy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${s}-numpy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ boost.require_numpy yes
</span>
configure.args-append -DOPENVDB_BUILD_PYTHON_MODULE=ON \
-DUSE_NUMPY=ON
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -84,8 +84,8 @@ foreach s ${pythons_suffixes} {
</span> reinplace s|__MACPORTS_PYTHON_VERSION__|${v}|g ${worksrcpath}/openvdb/openvdb/python/CMakeLists.txt
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- require_active_variants boost ${p}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- require_active_variants boost-numpy ${p}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ require_active_variants [boost::depends_portname] ${p}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ require_active_variants [boost::depends_portname]-numpy ${p}
</span> "
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -97,5 +97,5 @@ foreach s ${pythons_suffixes} {
</span> }
# this default version should stay synchronized with default boost python variant
if {${set_python_default}} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants +python38
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +python39
</span> }
</pre><pre style='margin:0'>
</pre>