<pre style='margin:0'>
Daniel J. Luke (danielluke) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ad946386d53684f271582572704c5a7c8a630e5a">https://github.com/macports/macports-ports/commit/ad946386d53684f271582572704c5a7c8a630e5a</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 ad94638 ntp: build fixes for Mojave, disable ntpsnmpd
</span>ad94638 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit ad946386d53684f271582572704c5a7c8a630e5a
</span>Author: Daniel J. Luke <dluke@macports.org>
AuthorDate: Fri Oct 12 17:12:58 2018 -0400
<span style='display:block; white-space:pre;color:#404040;'> ntp: build fixes for Mojave, disable ntpsnmpd
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> net-snmp-config on Mojave points the build to a libcrypto.35 that the
</span><span style='display:block; white-space:pre;color:#404040;'> build can't find. Since ntpsnmpd isn't actually very useful in its
</span><span style='display:block; white-space:pre;color:#404040;'> current stat, just disable it for all builds
</span>---
sysutils/ntp/Portfile | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/ntp/Portfile b/sysutils/ntp/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 260ad9b..099fe6e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/ntp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/ntp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,6 +2,7 @@ PortSystem 1.0
</span>
name ntp
version 4.2.8p12
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories sysutils net
maintainers {geeklair.net:dluke @danielluke}
description NTP is a protocol designed to synchronize the clocks of computers over a network.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,7 +22,7 @@ checksums md5 1522d66574bae14abb2622746dad2bdc \
</span>
platforms darwin
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args --enable-ipv6 ac_cv_search_nlist=no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args --with-ntpsnmpd=no --enable-ipv6 ac_cv_search_nlist=no
</span>
depends_lib port:openssl port:libevent port:libedit
depends_build port:pkgconfig
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -41,6 +42,13 @@ platform darwin 17 {
</span> }
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin 18 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|^RANLIB = ranlib|RANLIB = ranlib -c|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $worksrcpath/libntp/Makefile
</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> post-destroot {
xinstall -o root -m 644 ${filespath}/ntp.conf \
${destroot}${prefix}/etc/ntp.conf.dist
</pre><pre style='margin:0'>
</pre>