<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2eae0ef4ae75dcb28119099399a6e925dc266a72">https://github.com/macports/macports-ports/commit/2eae0ef4ae75dcb28119099399a6e925dc266a72</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 2eae0ef4ae7 gts: fix universal build on M1 Mac (#17176)
</span>2eae0ef4ae7 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 2eae0ef4ae75dcb28119099399a6e925dc266a72
</span>Author: Ken <21211439+kencu@users.noreply.github.com>
AuthorDate: Mon Jan 2 23:32:17 2023 -0800
<span style='display:block; white-space:pre;color:#404040;'> gts: fix universal build on M1 Mac (#17176)
</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/66605
</span>---
math/gts/Portfile | 12 ++++++++++++
1 file changed, 12 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/gts/Portfile b/math/gts/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index fa9c8096a43..4579a97a726 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/gts/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/gts/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -74,5 +74,17 @@ if {${universal_possible} && [variant_isset universal]} {
</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><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> livecheck.regex {gts-snapshot-(\d+(?:\.\d+)*)}
livecheck.version ${snapshot}
</pre><pre style='margin:0'>
</pre>