<pre style='margin:0'>
Michael Dickens (michaelld) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/35e0b7a7858d78dafbc21d14dae35e63c12a7d69">https://github.com/macports/macports-ports/commit/35e0b7a7858d78dafbc21d14dae35e63c12a7d69</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 35e0b7a7858 OpenBLAS: fix regression on ppc/i386 Rosetta
</span>35e0b7a7858 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 35e0b7a7858d78dafbc21d14dae35e63c12a7d69
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sun Feb 12 08:35:39 2023 -0700

<span style='display:block; white-space:pre;color:#404040;'>    OpenBLAS: fix regression on ppc/i386 Rosetta
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Fixes https://trac.macports.org/ticket/64986
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    No revbump since port either builds correctly or not at all.
</span>---
 math/OpenBLAS/Portfile | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/OpenBLAS/Portfile b/math/OpenBLAS/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 63690b66fe1..133627b2e3d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/OpenBLAS/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/OpenBLAS/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -129,10 +129,6 @@ pre-build {
</span>             }
             ppc {
                 puts $makeINC "TARGET = PPCG4"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                if { ${os.arch} eq "i386" } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    # This fixes Rosetta build: https://trac.macports.org/ticket/64986
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    puts $makeINC "HOSTARCH = PPCG4"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                }
</span>             }
             ppc64 {
                 puts $makeINC "TARGET = PPC970"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -143,6 +139,11 @@ pre-build {
</span>         }
     }
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    # This fixes Rosetta build: https://trac.macports.org/ticket/64986
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {${os.platform} eq "darwin" && ${os.major} == 10 && ${muniversal.build_arch} eq "ppc"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        puts $makeINC "HOSTARCH = PPCG4"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>     if {${muniversal.build_arch} ni [list i386 x86_64]} {
         # not on x86 of some sort; just disable AVX
         puts $makeINC "NO_AVX = 1"
</pre><pre style='margin:0'>

</pre>