<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/0d605f3b85836b147d291e14856dbb729fbf94a7">https://github.com/macports/macports-ports/commit/0d605f3b85836b147d291e14856dbb729fbf94a7</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 0d605f3b858 nco: add variant esmf to replace accelerate and atlas
</span>0d605f3b858 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 0d605f3b85836b147d291e14856dbb729fbf94a7
</span>Author: Remko Scharroo <remko.scharroo@eumetsat.int>
AuthorDate: Mon Nov 15 14:03:52 2021 +0100
<span style='display:block; white-space:pre;color:#404040;'> nco: add variant esmf to replace accelerate and atlas
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Variants accelerate or atlas are obsolete as either LAPACK interface would only be used in association with --enable-esmf, while --disable-esmf was set since nco v4.5.2.
</span><span style='display:block; white-space:pre;color:#404040;'> Now introducing variant esmf which sets --enable-esmf. Since package esmf already has variants accelerate and atlas, to link either libveclibFort or libsatlas, they are not needed here.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> This also make nco compile again on Monterey as veclibFort does not compile yet on Monterey
</span>---
science/nco/Portfile | 21 ++++++---------------
1 file changed, 6 insertions(+), 15 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/nco/Portfile b/science/nco/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a20d00bd8de..d145a65faf2 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/nco/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/nco/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup compilers 1.0
</span> PortGroup github 1.0
github.setup nco nco 5.0.3
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span> platforms darwin
maintainers {takeshi @tenomoto}
license GPL-3
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -65,14 +65,7 @@ configure.args --disable-dependency-tracking \
</span> --disable-openmp
if {[gcc_variant_isset] || [clang_variant_isset]} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants +openmp
</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 {[variant_isset atlas]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.ldflags-append -lsatlas
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants-append +accelerate
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.ldflags-append -lvecLibFort
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants-append +openmp
</span> }
post-destroot {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -100,12 +93,10 @@ variant mpich description {enable MPI with mpich (currently MPI is not supported
</span> variant openmpi description {enable MPI with openmpi (currently MPI is not supported)} {
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant accelerate conflicts atlas description {use Accelerate framework for LAPACK} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:vecLibFort
</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;'>-variant atlas conflicts accelerate description {use Atlas for LAPACK} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:atlas
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant esmf description {use ESMF (Earth System Modeling Framework)} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete --disable-esmf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --enable-esmf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:esmf
</span> }
livecheck.type regex
</pre><pre style='margin:0'>
</pre>