<pre style='margin:0'>
Takeshi Enomoto (tenomoto) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5ecfbb9005abe69cf5c18f03426d66d309e68202">https://github.com/macports/macports-ports/commit/5ecfbb9005abe69cf5c18f03426d66d309e68202</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 5ecfbb9 ncarg: fix a link error
</span>5ecfbb9 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 5ecfbb9005abe69cf5c18f03426d66d309e68202
</span>Author: Takeshi Enomoto <takeshi@macports.org>
AuthorDate: Sat Apr 4 14:20:04 2020 +0900
<span style='display:block; white-space:pre;color:#404040;'> ncarg: fix a link error
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * correctly set C++ compiler in ${configure.cxx}
</span><span style='display:block; white-space:pre;color:#404040;'> * provide the absolute path to libgomp.dylib
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/60054
</span>---
science/ncarg/Portfile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
<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 b4ae401..4a4e49f 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;'>@@ -9,7 +9,7 @@ compilers.setup require_fortran
</span>
name ncarg
version 6.6.2
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 3
</span> epoch 1
set version_no_dot [join [split ${version} "."] ""]
categories science
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -118,7 +118,7 @@ pre-configure {
</span> if {[regexp clang ${configure.compiler}]} {
reinplace "s| -lquadmath||" ${worksrcpath}/config/Darwin_Intel
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|g\+\+$|${configure.cxx}|" ${worksrcpath}/config/Darwin_Intel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|g\\\\+\\\\+$|${configure.cxx}|" ${worksrcpath}/config/Darwin_Intel
</span> foreach f {Darwin Darwin_Intel} {
if {[regexp clang ${configure.compiler}]} {
reinplace "s|-fopenmp||" ${worksrcpath}/config/${f}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -126,7 +126,7 @@ 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} -lgomp|" ${worksrcpath}/config/${f}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|-lgfortran|${compilers.libfortran} ${prefix}/lib/${compilers.gcc_default}/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>