<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/8c6c9db1eb1c38cb0ad9ade6b3fda4dad4437180">https://github.com/macports/macports-ports/commit/8c6c9db1eb1c38cb0ad9ade6b3fda4dad4437180</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 8c6c9db1eb1c38cb0ad9ade6b3fda4dad4437180
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Mon Jan 15 20:04:52 2024 +1100
<span style='display:block; white-space:pre;color:#404040;'> openjdk8: update config.{guess,sub}
</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/67376
</span>---
java/openjdk8/Portfile | 11 +++++++++++
1 file changed, 11 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/java/openjdk8/Portfile b/java/openjdk8/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6ffe747d779..493140ff389 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/java/openjdk8/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/java/openjdk8/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -60,6 +60,17 @@ if {${configure.build_arch} in [list i386 ppc]} {
</span> set datamodel 64
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Update config.{guess,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;'>+ copy -force ${automake_dir}/config.guess \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/common/autoconf/build-aux/autoconf-config.guess
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy -force ${automake_dir}/config.sub \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/common/autoconf/build-aux/autoconf-config.sub
</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/bash ./configure
configure.pre_args --prefix=${tpath}
set bug_url "https://trac.macports.org/newticket?port=${name}"
</pre><pre style='margin:0'>
</pre>