<pre style='margin:0'>
Mojca Miklavec (mojca) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/68df541c174db48e4598f29afbac844a8e40d635">https://github.com/macports/macports-ports/commit/68df541c174db48e4598f29afbac844a8e40d635</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 68df541c174db48e4598f29afbac844a8e40d635
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Thu Aug 4 20:19:04 2022 +0545
<span style='display:block; white-space:pre;color:#404040;'> MoarVM: fix build on Rosetta, again
</span>---
lang/MoarVM/Portfile | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/MoarVM/Portfile b/lang/MoarVM/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 7e15cc28de1..50563f62789 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/MoarVM/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/MoarVM/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -42,6 +42,13 @@ patchfiles patch-Configure.diff \
</span> # https://trac.macports.org/ticket/53950
compiler.blacklist cc gcc-* apple-gcc-* llvm-gcc-*
<span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin 10 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${build_arch} eq "ppc"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Clang is broken on PPC, but Rosetta tries using it
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.blacklist-append *clang*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.cmd ${prefix}/bin/perl Configure.pl
configure.args --cc=${configure.cc} \
--has-dyncall \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -61,11 +68,6 @@ if {${os.platform} eq "darwin" && ${os.major} <= 10} {
</span> --no-mimalloc
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${build_arch} eq "ppc" || ${build_arch} eq "ppc64"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Clang is broken on PPC, but Rosetta tries using it
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- compiler.blacklist-append *clang*
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # https://github.com/MoarVM/MoarVM/issues/414
universal_variant no
# Unsupported by Configure.pl
</pre><pre style='margin:0'>
</pre>