<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b39f95a2f6b052fe05bd55ca39f9ecd192619c9b">https://github.com/macports/macports-ports/commit/b39f95a2f6b052fe05bd55ca39f9ecd192619c9b</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit b39f95a2f6b052fe05bd55ca39f9ecd192619c9b
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Tue Apr 12 13:47:50 2022 -0500
<span style='display:block; white-space:pre;color:#404040;'> tcptraceroute: Update config.guess/config.sub on arm
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/64992
</span>---
net/tcptraceroute/Portfile | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/tcptraceroute/Portfile b/net/tcptraceroute/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 0452a37d42d..1a5a6f9a0b9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/tcptraceroute/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/tcptraceroute/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,7 +6,6 @@ PortGroup github 1.0
</span> github.setup mct tcptraceroute 1.5beta7 tcptraceroute-
categories net
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span> license GPL-2
maintainers nomaintainer
description a traceroute implementation using TCP packets
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,3 +23,15 @@ depends_lib port:libnet11 port:libpcap
</span>
configure.args --mandir=${prefix}/share/man
configure.cflags-append "-I${prefix}/include"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin arm {
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Use newer config.guess and config.sub to support Apple Silicon.
</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}
</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>