<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/7c143c3c26816fe1642495d0fd50a508ee6af78e">https://github.com/macports/macports-ports/commit/7c143c3c26816fe1642495d0fd50a508ee6af78e</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 7c143c3c26816fe1642495d0fd50a508ee6af78e
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Fri Dec 24 13:28:22 2021 -0600

<span style='display:block; white-space:pre;color:#404040;'>    libsmf: Update config.guess/config.sub for arm64
</span>---
 audio/libsmf/Portfile | 21 +++++++++++++++++----
 1 file changed, 17 insertions(+), 4 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/libsmf/Portfile b/audio/libsmf/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ff0672c646c..0bdd5fbf1c4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/audio/libsmf/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/libsmf/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,9 +5,13 @@ PortSystem          1.0
</span> name                libsmf
 version             1.3
 revision            3
<span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums           rmd160  c6c15191b3c1dff313a3a9f16e8050910c65ede9 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  d3549f15de94ac8905ad365639ac6a2689cb1b51fdfa02d77fa6640001b18099 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size    545850
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> categories          audio
 platforms           darwin
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers         ryandesign openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers         {ryandesign @ryandesign} openmaintainer
</span> license             BSD
 
 description         C library for handling SMF ("*.mid") files
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19,9 +23,6 @@ long_description    LibSMF is a C library for handling SMF ("*.mid") files. It \
</span> homepage            http://libsmf.sourceforge.net/
 master_sites        sourceforge:project/libsmf/libsmf/${version}/
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums           rmd160  c6c15191b3c1dff313a3a9f16e8050910c65ede9 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    sha256  d3549f15de94ac8905ad365639ac6a2689cb1b51fdfa02d77fa6640001b18099
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> depends_build       port:pkgconfig
 
 depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2 \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29,3 +30,15 @@ depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2 \
</span>                     port:readline
 
 configure.args      --with-readline
<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>