<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/31c08c47914acc5cfda94fc61706c1b63bb4d873">https://github.com/macports/macports-ports/commit/31c08c47914acc5cfda94fc61706c1b63bb4d873</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 31c08c47914acc5cfda94fc61706c1b63bb4d873
</span>Author: Dave Allured <dave.allured@noaa.gov>
AuthorDate: Sat Apr 27 16:45:22 2024 -0600
<span style='display:block; white-space:pre;color:#404040;'> netcdf-cxx4: Remove overlinking to HDF5
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> .
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * Remove accidental dependency on HDF5.
</span><span style='display:block; white-space:pre;color:#404040;'> * Disable filter tests which caused accidental dependency.
</span><span style='display:block; white-space:pre;color:#404040;'> * Fix whitespace nitpicks.
</span>---
science/netcdf-cxx4/Portfile | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/netcdf-cxx4/Portfile b/science/netcdf-cxx4/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 11f33a2b03b..20f6046950a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/netcdf-cxx4/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/netcdf-cxx4/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,6 +2,7 @@
</span>
PortSystem 1.0
PortGroup github 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> #PortGroup cmake 1.0
PortGroup mpi 1.0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,14 +31,16 @@ mpi.setup
</span>
#cmake.out_of_source yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-mpi.enforce_variant hdf5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#mpi.enforce_variant hdf5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:netcdf
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:netcdf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args --disable-filter-testing
</span>
configure.cppflags-append -DNDEBUG
configure.cxxflags-append -fno-common
configure.cflags-append -fno-common
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.ldflags-append -lnetcdf -lhdf5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.ldflags-append -lnetcdf
</span>
post-configure {
file rename ${worksrcpath}/VERSION ${worksrcpath}/VERSION.txt
</pre><pre style='margin:0'>
</pre>