<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/af7f5b809aed0237c02b5138151555380971cb37">https://github.com/macports/macports-ports/commit/af7f5b809aed0237c02b5138151555380971cb37</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 af7f5b809ae mips-elf-gcc: update config.{guess,sub} for arm64
</span>af7f5b809ae is described below
<span style='display:block; white-space:pre;color:#808000;'>commit af7f5b809aed0237c02b5138151555380971cb37
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Wed Mar 29 18:59:46 2023 +1100
<span style='display:block; white-space:pre;color:#404040;'> mips-elf-gcc: update config.{guess,sub} for arm64
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/67162
</span>---
cross/mips-elf-gcc/Portfile | 11 +++++++++++
1 file changed, 11 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/cross/mips-elf-gcc/Portfile b/cross/mips-elf-gcc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c60e9ef7302..5c04b4faa95 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/cross/mips-elf-gcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/cross/mips-elf-gcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -50,6 +50,17 @@ post-extract {
</span> system "ln -s ${workpath}/newlib-${newlibversion}/newlib ${workpath}/gcc-${version}/"
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Update config.guess and config.sub to recognise arm64.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append port:automake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set automake_dirs [glob -directory ${prefix}/share automake-*]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set automake_dir [lindex [lsort -command vercmp $automake_dirs] end]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach dir [list ${worksrcpath} ${worksrcpath}/boehm-gc ${worksrcpath}/libjava/libltdl ${workpath}/newlib-${newlibversion}] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy -force ${automake_dir}/config.guess ${automake_dir}/config.sub \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${dir}
</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> # Since we don't build gcc and binutils at the same time, gcc's Makefile will try to transform
# program names as gcc's name (add -${version} with ${version} being the version of gcc).
# But it won't work because binutils binaries don't have the ${version} suffix, and even if they
</pre><pre style='margin:0'>
</pre>