<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/64b938d01ece3e74edef614545e66c91be64adcc">https://github.com/macports/macports-ports/commit/64b938d01ece3e74edef614545e66c91be64adcc</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 64b938d  ncarg: enable build on Mojave, without system headers
</span>64b938d is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 64b938d01ece3e74edef614545e66c91be64adcc
</span>Author: Takeshi Enomoto <takeshi@macports.org>
AuthorDate: Mon Oct 7 14:57:32 2019 +0900

<span style='display:block; white-space:pre;color:#404040;'>    ncarg: enable build on Mojave, without system headers
</span>---
 science/ncarg/Portfile | 10 +++++++---
 1 file changed, 7 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 ac8415a..b07318f 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;'>@@ -93,6 +93,10 @@ if {[variant_isset accelerate]} {
</span>     patchfiles-append       patch-config-Project.diff
 }
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${configure.sdkroot} ne ""} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.cflags-append     -isysroot ${configure.sdkroot}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.fflags-append     -isysroot ${configure.sdkroot}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span> pre-configure {
     if {[file exists ${prefix}/bin/h5pcc]} {
         configure.cc        ${prefix}/bin/h5pcc
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -128,14 +132,14 @@ pre-configure {
</span>         reinplace "s| gfortran$| ${configure.fc}|" ${worksrcpath}/config/${f}
         reinplace "s|gcc$|${configure.cc}|" ${worksrcpath}/config/${f}
         reinplace "/CcOptions/d" ${worksrcpath}/config/${f}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+        reinplace "/FcOptions/d" ${worksrcpath}/config/${f}
</span>         reinplace "/ArchRecLibSearch/d" ${worksrcpath}/config/${f}
         reinplace "/ArchRecIncSearch/d" ${worksrcpath}/config/${f}
         reinplace "s|-lXext$|-lXext\\
 #define ArchRecLibSearch    ${configure.ldflags} \\
 #define ArchRecIncSearch    ${configure.cppflags} \\
<span style='display:block; white-space:pre;background:#ffe0e0;'>-#define CcOptions -fPIC -D_DARWIN_C_SOURCE \\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#define COptimizeFlag ${configure.cflags}\\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#define FOptimizeFlag ${configure.fflags}\\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#define CcOptions -fPIC -D_DARWIN_C_SOURCE ${configure.cflags}\\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#define FcOptions -fPIC -fno-range-check -m64 -Wall ${configure.fflags}\\
</span> #define ManRoot ${destroot}${prefix}/share/man\\
 #define NetCDFlib -lnetcdf\\
 #define HDFEOS5lib -lhe5_hdfeos -lGctp|" ${worksrcpath}/config/${f}
</pre><pre style='margin:0'>

</pre>