<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/8ad0fe6ce3a7998d330f96710504d5c63f05a57c">https://github.com/macports/macports-ports/commit/8ad0fe6ce3a7998d330f96710504d5c63f05a57c</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 8ad0fe6ce3a7998d330f96710504d5c63f05a57c
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Mon Feb 8 22:47:03 2021 +1100
<span style='display:block; white-space:pre;color:#404040;'> ruby23: update config.{guess,sub}
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Allow arm64 to be accepted.
</span>---
lang/ruby23/Portfile | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/ruby23/Portfile b/lang/ruby23/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c2732e0af7f..12a23627dac 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/ruby23/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/ruby23/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,8 +24,6 @@ long_description Ruby is the interpreted scripting language for quick \
</span>
homepage http://www.ruby-lang.org/
license {Ruby BSD}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# configure does not accept darwin arm64
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-supported_archs x86_64 i386 ppc
</span>
master_sites ruby:2.3
use_bzip2 yes
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -60,6 +58,15 @@ patchfiles-append patch-tiger.diff
</span> # https://trac.macports.org/ticket/58255
patchfiles-append patch-configure_cxx11.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# replace old config.{guess,sub} with recent versions from automake
</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 ${automake_dir}/config.sub \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/tool
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args --enable-shared \
--disable-install-doc \
--mandir="${prefix}/share/man" \
</pre><pre style='margin:0'>
</pre>