<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/ff6532d0751ab8522793ccd9fb948f2ab770ac7d">https://github.com/macports/macports-ports/commit/ff6532d0751ab8522793ccd9fb948f2ab770ac7d</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit ff6532d0751ab8522793ccd9fb948f2ab770ac7d
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Mon Jan 17 06:19:39 2022 -0600
<span style='display:block; white-space:pre;color:#404040;'> icpld: Update config.guess/config.sub for arm64
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> And patch the configure script to remove a harmless error.
</span>---
net/icpld/Portfile | 17 +++++++++++++++--
net/icpld/files/configure.patch | 21 +++++++++++++++++++++
2 files changed, 36 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/icpld/Portfile b/net/icpld/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ed028e42e53..c985fc71a24 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/icpld/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/icpld/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,9 +2,9 @@ PortSystem 1.0
</span>
name icpld
version 1.1.5
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span> categories net sysutils
license BSD
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span> maintainers nomaintainer
description network connection performance tracking monitor
long_description ICPLD is a connection monitor which allows you to keep \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22,7 +22,8 @@ checksums md5 b6faa64bdbe4d31b3e0cfdbde2a9b0e9 \
</span> sha1 cbe04ed210607f9e18b2a91a586f7e17f8018938 \
rmd160 457df771324d94867ed481e790cd0caa224945a0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-src-fork.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles configure.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-src-fork.cpp
</span>
post-patch {
reinplace "s|/doc|/share/doc|" ${worksrcpath}/Makefile.in
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -34,3 +35,15 @@ configure.args --mandir=${prefix}/share/man \
</span> post-destroot {
xinstall -m 644 ${worksrcpath}/icpld.conf.sample ${destroot}${prefix}/etc/
}
<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><span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/icpld/files/configure.patch b/net/icpld/files/configure.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..8527f7c0757
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/icpld/files/configure.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,21 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+./configure: line 4851: ++: command not found
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+./configure: line 5418: ++: command not found
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2008-07-28 20:12:13.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2022-01-17 06:16:24.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -4848,7 +4848,6 @@
</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;'>+ am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ac_ext=c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ac_cpp='$CPP $CPPFLAGS'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -5415,7 +5414,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _ACEOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Check whether --enable-shared was given.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test "${enable_shared+set}" = set; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ enableval=$enable_shared; p=${PACKAGE-default}
</span></pre><pre style='margin:0'>
</pre>