<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/47f2d0c76bd65ffbb7f5d305f995e74ddcf8f638">https://github.com/macports/macports-ports/commit/47f2d0c76bd65ffbb7f5d305f995e74ddcf8f638</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 47f2d0c76bd lapack,ncarg: do not assume gcc port name from variant name
</span>47f2d0c76bd is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 47f2d0c76bd65ffbb7f5d305f995e74ddcf8f638
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Mon Dec 7 11:18:50 2020 +0000
<span style='display:block; white-space:pre;color:#404040;'> lapack,ncarg: do not assume gcc port name from variant name
</span>---
math/lapack/Portfile | 3 ++-
science/ncarg/Portfile | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/lapack/Portfile b/math/lapack/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index fe9fa0febdc..296857e0104 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/lapack/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/lapack/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -48,7 +48,8 @@ configure.args-append \
</span>
if {${subport} eq ${name}} {
if {[variant_isset gfortran]} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.ldflags-append -L${prefix}/lib/${compilers.gcc_default} -lgfortran
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set gccPort [fortran_depends_port_name ${compilers.gcc_default}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.ldflags-append -L${prefix}/lib/${gccPort} -lgfortran
</span> }
variant accelerate conflicts openblas description {use BLAS in Accelerate.framework} {
depends_lib-append port:vecLibFort
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/ncarg/Portfile b/science/ncarg/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f61b02a88de..46e7dd33b16 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/ncarg/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/ncarg/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -137,7 +137,8 @@ pre-configure {
</span> if {[variant_isset g95]} {
reinplace "s|-lgfortran|${compilers.libfortran}|" ${worksrcpath}/config/${f}
} else {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|-lgfortran|${compilers.libfortran} ${prefix}/lib/${compilers.gcc_default}/libgomp.dylib|" ${worksrcpath}/config/${f}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set gccPort [fortran_depends_port_name ${compilers.gcc_default}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|-lgfortran|${compilers.libfortran} ${prefix}/lib/${gccPort}/libgomp.dylib|" ${worksrcpath}/config/${f}
</span> }
reinplace "s| gfortran$| ${configure.fc}|" ${worksrcpath}/config/${f}
reinplace "s|gcc$|${configure.cc}|" ${worksrcpath}/config/${f}
</pre><pre style='margin:0'>
</pre>