<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/b8fa670f9a0c79c89078bac15b8121a619c573f2">https://github.com/macports/macports-ports/commit/b8fa670f9a0c79c89078bac15b8121a619c573f2</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 b8fa670f9a0 MoarVM: fix build on 10.8 and earlier
</span>b8fa670f9a0 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit b8fa670f9a0c79c89078bac15b8121a619c573f2
</span>Author: Evan Miller <emmiller@gmail.com>
AuthorDate: Fri Mar 25 07:33:08 2022 -0400
<span style='display:block; white-space:pre;color:#404040;'> MoarVM: fix build on 10.8 and earlier
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://github.com/MoarVM/MoarVM/issues/1149
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/64587
</span>---
lang/MoarVM/Portfile | 2 ++
lang/MoarVM/files/patch-Configure.diff | 23 +++++++++++++++++++++++
2 files changed, 25 insertions(+)
<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 5271529b9cf..d4ab73bb2bf 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;'>@@ -39,6 +39,8 @@ depends_lib port:dyncall \
</span> port:libuv
# port:libtommath
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-Configure.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # https://trac.macports.org/ticket/53950
compiler.blacklist cc gcc-* apple-gcc-* llvm-gcc-*
if {${os.platform} eq "darwin" && ${os.arch} eq "powerpc"} {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/MoarVM/files/patch-Configure.diff b/lang/MoarVM/files/patch-Configure.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..46933178944
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/MoarVM/files/patch-Configure.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,23 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Configuring with a mix of GNU and non-GNU tools seems to work just fine.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+See: https://github.com/MoarVM/MoarVM/issues/1149
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Configure.pl.orig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Configure.pl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -192,14 +192,14 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if ($gnu_toolchain && $gnu_count != scalar @check_tools) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ print "\nNot all tools in the toolchain are GNU. Please correct this and retry.\n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ . "See README.markdown for more details.\n\n";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exit -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# exit -1;
</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;'>+ ## Otherwise, make sure that none of them are GNU
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ elsif (!$gnu_toolchain && $gnu_count != 0) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ print "\nGNU tools detected, despite this not being a GNU-oriented build.\n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ." Please correct this and retry. See README.markdown for more details.\n\n";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exit -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# exit -1;
</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></pre><pre style='margin:0'>
</pre>