<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/12106215f2194226ce3397d35edae54048801fea">https://github.com/macports/macports-ports/commit/12106215f2194226ce3397d35edae54048801fea</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 12106215f2194226ce3397d35edae54048801fea
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sat Aug 17 09:24:06 2019 -0700
<span style='display:block; white-space:pre;color:#404040;'> openvdb: accommodate rename of boost library
</span>---
graphics/openvdb/Portfile | 4 ++--
.../openvdb/files/patch-boost_python_name.diff | 28 ----------------------
2 files changed, 2 insertions(+), 30 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 e8ea6cc..9e2fec4 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;'>@@ -7,6 +7,7 @@ PortGroup cxx11 1.1
</span> PortGroup active_variants 1.1
github.setup AcademySoftwareFoundation openvdb 6.1.0 v
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> homepage https://www.openvdb.org/
categories graphics
license MPL-2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,10 +22,9 @@ checksums rmd160 3a6786cee02d404f98f1507c359837d9ca97e823 \
</span> sha256 6b832d207175f8396c6984cfc78e7f6b7b15f501536c03359bf3af9085dec509 \
size 1865580
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# openvdb/python/CMakeLists.txt has incorrect (for MacPorts) boost python file name
</span> # see https://github.com/AcademySoftwareFoundation/openvdb/issues/427
# Find correct Python version
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles-append patch-boost_python_name.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append \
</span> patch-python3.diff \
patch-python_verison.diff
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/openvdb/files/patch-boost_python_name.diff b/graphics/openvdb/files/patch-boost_python_name.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 2c03341..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/openvdb/files/patch-boost_python_name.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,28 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- openvdb/python/CMakeLists.txt.orig 2018-12-18 05:27:52.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ openvdb/python/CMakeLists.txt 2019-02-01 04:52:46.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -113,12 +113,12 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Prioritize the version suffixed library, failing if neither exist.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- find_package(Boost ${MINIMUM_BOOST_VERSION}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- QUIET COMPONENTS python${Python_VERSION_MAJOR}${Python_VERSION_MINOR}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ QUIET COMPONENTS python${Python_VERSION_MAJOR}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--if(TARGET Boost::python${Python_VERSION_MAJOR}${Python_VERSION_MINOR})
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- set(BOOST_PYTHON_LIB "python${Python_VERSION_MAJOR}${Python_VERSION_MINOR}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- message(STATUS "Found boost_python${Python_VERSION_MAJOR}${Python_VERSION_MINOR}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+if(TARGET Boost::python${Python_VERSION_MAJOR})
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ set(BOOST_PYTHON_LIB "python${Python_VERSION_MAJOR}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ message(STATUS "Found boost_python${Python_VERSION_MAJOR}")
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- else()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- find_package(Boost ${MINIMUM_BOOST_VERSION}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- QUIET COMPONENTS python
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -130,7 +130,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- else()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- message(FATAL_ERROR "Unable to find boost_python or "
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- "boost_python${Python_VERSION_MAJOR}${Python_VERSION_MINOR}."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ "boost_python${Python_VERSION_MAJOR}."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- endif()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- endif()
</span></pre><pre style='margin:0'>
</pre>