<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ae4112904e45e99b7948c5c244f884a3554bf8b8">https://github.com/macports/macports-ports/commit/ae4112904e45e99b7948c5c244f884a3554bf8b8</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit ae4112904e45e99b7948c5c244f884a3554bf8b8
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Tue May 16 11:15:59 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> starpu: add hdf5 variant
</span>---
devel/starpu/Portfile | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/starpu/Portfile b/devel/starpu/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index cb1d9b2d3a6..5c3d06c6c5f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/starpu/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/starpu/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -59,7 +59,7 @@ depends_build-append \
</span> port:automake \
port:libtool \
port:pkgconfig
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib-append port:hdf5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:fftw-3 \
</span> port:hwloc
configure.args-append \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -69,5 +69,16 @@ configure.args-append \
</span> --with-mpicxx=${prefix}/bin/${mpi.cxx} \
--with-mpifort=${prefix}/bin/${mpi.f90}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Making a variant due to https://trac.macports.org/ticket/67273
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant hdf5 description "Enable HDF5 support" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:hdf5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ require_active_variants hdf5 fortran
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-hdf5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-hdf5-include-dir=${prefix}/include \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-hdf5-lib-dir=${prefix}/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> test.run yes
test.target check
</pre><pre style='margin:0'>
</pre>