<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/74ed1c371ca13f4b1a418d08f659965a0e3d6dd3">https://github.com/macports/macports-ports/commit/74ed1c371ca13f4b1a418d08f659965a0e3d6dd3</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 74ed1c371ca13f4b1a418d08f659965a0e3d6dd3
</span>Author: Ruben Di Battista <rubendibattista@gmail.com>
AuthorDate: Thu Jul 25 21:37:09 2019 +0200
<span style='display:block; white-space:pre;color:#404040;'> paraview: Fix build with DIY2.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> DIY2 shipped with VTK is patched. So it needs to be compiled from the
</span><span style='display:block; white-space:pre;color:#404040;'> source shipped with Paraview
</span>---
science/paraview/Portfile | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/paraview/Portfile b/science/paraview/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c9bf0d4..d1196ed 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/paraview/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/paraview/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -97,9 +97,6 @@ configure.pre_args-delete \
</span> configure.post_args-append \
-DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=OFF
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# avoid `Exit code: 2`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_parallel_build no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # ${destroot} needs to be part of MACOSX_APP_INSTALL_PREFIX; see further
# comments below, JJS 12/21/15
configure.args-append \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -124,6 +121,7 @@ pre-configure {
</span> -DMPI_CXX_COMPILER=${mpi.cxx} \
-DMPIEXEC=${mpi.exec} \
-DMPI_Fortran_COMPILER=${mpi.fc}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DVTK_USE_SYSTEM_DIY2:BOOL=OFF
</span> }
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -181,7 +179,7 @@ foreach pyver ${python_versions} {
</span> -DPARAVIEW_ENABLE_PYTHON:BOOL=ON \
-DPYTHON_EXECUTABLE=${prefix}/bin/python${python_branch} \
-DPYTHON_INCLUDE_DIR=${frameworks_dir}/Python.framework/Versions/${python_branch}/Headers/ \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -DPYTHON_LIBRARY=${prefix}/lib/libpython${python_branch}.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DPYTHON_LIBRARY=${frameworks_dir}/Python.framework/Versions/${python_branch}/lib/libpython${python_branch}.dylib
</span>
if {[mpi_variant_isset]} {
depends_lib-append port:py${pyver}-mpi4py
</pre><pre style='margin:0'>
</pre>