<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/727654a79482c6049c9e285d88494b40b48a0af7">https://github.com/macports/macports-ports/commit/727654a79482c6049c9e285d88494b40b48a0af7</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 727654a79482c6049c9e285d88494b40b48a0af7
</span>Author: Daniel J. Luke <dluke@macports.org>
AuthorDate: Fri Oct 6 12:28:07 2017 -0400

<span style='display:block; white-space:pre;color:#404040;'>    ntp: work around High Sierra linker regression
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    see https://lists.macports.org/pipermail/macports-dev/2017-October/036569.html
</span>---
 sysutils/ntp/Portfile | 9 +++++++++
 1 file changed, 9 insertions(+)

<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 df5999c..59dff90 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;'>@@ -29,6 +29,15 @@ startupitem.create       yes
</span> startupitem.netchange     yes
 startupitem.executable ${prefix}/sbin/ntpd -n -g -p ${prefix}/var/run/ntpd.pid -f ${prefix}/var/db/ntp.drift -c ${prefix}/etc/ntp.conf
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# High Sierra doesn't like the way libntp.a is set up
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# see https://lists.macports.org/pipermail/macports-dev/2017-October/036569.html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin 17 {
</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>