<pre style='margin:0'>
Eric A. Borisch (eborisch) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/45f5dfd5a0f5e418d64687b7221b71d2e5127ced">https://github.com/macports/macports-ports/commit/45f5dfd5a0f5e418d64687b7221b71d2e5127ced</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 45f5dfd5a0f hdf5: fix build with MPI variant is set (#18855)
</span>45f5dfd5a0f is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 45f5dfd5a0f5e418d64687b7221b71d2e5127ced
</span>Author: MarcusCalhoun-Lopez <MarcusCalhoun-Lopez@users.noreply.github.com>
AuthorDate: Tue May 30 11:42:06 2023 -0700
<span style='display:block; white-space:pre;color:#404040;'> hdf5: fix build with MPI variant is set (#18855)
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> No revbump since ports build correctly or not at all
</span>---
science/hdf5/Portfile | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/hdf5/Portfile b/science/hdf5/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e0ab09ab26a..341b241e6ee 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/hdf5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/hdf5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -100,8 +100,14 @@ post-destroot {
</span>
# ensure libraries are found and that they are from MacPorts
# see https://trac.macports.org/ticket/67507
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -W ${destroot}${prefix}/bin "s|-lsz|${prefix}/lib/libaec/lib/libsz.dylib|g" h5cc h5c++
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -W ${destroot}${prefix}/bin "s|-lz|${prefix}/lib/libz.dylib|g" h5cc h5c++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[ mpi_variant_isset ]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://github.com/macports/macports-ports/commit/1e09f24922857968ec9e4429085a4d06b636baf2#commitcomment-115333262
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set bins {h5c++ h5pcc}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set bins {h5c++ h5cc}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -W ${destroot}${prefix}/bin "s|-lsz|${prefix}/lib/libaec/lib/libsz.dylib|g" {*}${bins}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -W ${destroot}${prefix}/bin "s|-lz|${prefix}/lib/libz.dylib|g" {*}${bins}
</span> }
test.run yes
</pre><pre style='margin:0'>
</pre>