<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/242fda2c9f5a350a744a7177f7e3118dd0a3112b">https://github.com/macports/macports-ports/commit/242fda2c9f5a350a744a7177f7e3118dd0a3112b</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 242fda2c9f5 qrupdate: Update Portfile
</span>242fda2c9f5 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 242fda2c9f5a350a744a7177f7e3118dd0a3112b
</span>Author: woachk <24752637+woachk@users.noreply.github.com>
AuthorDate: Sun Jan 31 00:12:08 2021 +0100

<span style='display:block; white-space:pre;color:#404040;'>    qrupdate: Update Portfile
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Adding support for Apple Silicon Macs.
</span>---
 math/qrupdate/Portfile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/qrupdate/Portfile b/math/qrupdate/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 3998465beab..f00c6d238bc 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/qrupdate/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/qrupdate/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -53,20 +53,22 @@ post-patch {
</span> # Fortran compilers cannot cross-compile
 if {${os.arch} eq "i386"} {
     set universal_archs_supported "i386 x86_64"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+} elseif {${os.arch} eq "arm64"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    set universal_archs_supported "arm64"
</span> } else {
     set universal_archs_supported "ppc ppc64"
 }
 
 post-configure {
     if {![variant_exists universal] || ![variant_isset universal]} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        if {${build_arch} eq "x86_64" || ${build_arch} eq "ppc64"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        if {${build_arch} eq "arm64" || ${build_arch} eq "x86_64" || ${build_arch} eq "ppc64"} {
</span>             reinplace "s|^FFLAGS=|FFLAGS=-m64 |"  ${worksrcpath}/Makeconf
         } else {
             reinplace "s|^FFLAGS=|FFLAGS=-m32 |"  ${worksrcpath}/Makeconf
         }
     } else {
         foreach arch ${universal_archs_to_use} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-            if {${arch} eq "x86_64" || ${arch} eq "ppc64"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            if {${arch} eq "arm64" || ${arch} eq "x86_64" || ${arch} eq "ppc64"} {
</span>                 reinplace "s|^FFLAGS=|FFLAGS=-m64 |"  ${worksrcpath}-${arch}/Makeconf
             } else {
                 reinplace "s|^FFLAGS=|FFLAGS=-m32 |"  ${worksrcpath}-${arch}/Makeconf
</pre><pre style='margin:0'>

</pre>