<pre style='margin:0'>
Clemens Lang (neverpanic) pushed a commit to branch master
in repository macports-base.

</pre>
<p><a href="https://github.com/macports/macports-base/commit/e07f317f2a9cc59d317748fedc671e06b60494f7">https://github.com/macports/macports-base/commit/e07f317f2a9cc59d317748fedc671e06b60494f7</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit e07f317f2a9cc59d317748fedc671e06b60494f7
</span>Author: harens <12570877+harens@users.noreply.github.com>
AuthorDate: Mon Jun 27 11:35:23 2022 +0100

<span style='display:block; white-space:pre;color:#404040;'>    Improve `build_arch` support on non-Darwin
</span>---
 src/macports1.0/macports.tcl | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/macports1.0/macports.tcl b/src/macports1.0/macports.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index c1f34bfe..f1dbcc26 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/macports1.0/macports.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/macports1.0/macports.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1148,7 +1148,12 @@ match macports.conf.default."
</span>                 }
             }
         } else {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-            set macports::build_arch {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            # List of currently supported CPU architectures
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            if {$tcl_platform(machine) in [list arm64 x86_64 i386 ppc]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                set macports::build_arch $tcl_platform(machine)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                set macports::build_arch {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            }
</span>         }
     } else {
         set macports::build_arch [lindex $macports::build_arch 0]
</pre><pre style='margin:0'>

</pre>