summaryrefslogtreecommitdiff
path: root/net/ntp4
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2016-05-13 15:50:13 +0000
committerbsiegert <bsiegert@pkgsrc.org>2016-05-13 15:50:13 +0000
commit41a2b88c5ab9272b9cb1e493eed58cf131cbae35 (patch)
treeaebd38d6d8f11328992a6c417f4a707da977cf80 /net/ntp4
parent1b5c0b0f87adb287369794ed69e69458eaa61213 (diff)
downloadpkgsrc-41a2b88c5ab9272b9cb1e493eed58cf131cbae35.tar.gz
Fix package installation for Darwin, which installs tickadj and ntpsnmpd.
Not sure what the snmp thing is about; is it picking up a dependency from the base system? Why does no other OS build it?
Diffstat (limited to 'net/ntp4')
-rw-r--r--net/ntp4/Makefile7
-rw-r--r--net/ntp4/PLIST4
2 files changed, 8 insertions, 3 deletions
diff --git a/net/ntp4/Makefile b/net/ntp4/Makefile
index 9db557bb5f9..19cb6fdc719 100644
--- a/net/ntp4/Makefile
+++ b/net/ntp4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.92 2016/04/27 15:59:19 wen Exp $
+# $NetBSD: Makefile,v 1.93 2016/05/13 15:50:13 bsiegert Exp $
#
DISTNAME= ntp-4.2.8p7
@@ -41,13 +41,16 @@ post-install:
.include "../../mk/bsd.prefs.mk"
.include "options.mk"
-PLIST_VARS+= ntptime tickadj timetrim
+PLIST_VARS+= ntpsnmpd ntptime tickadj timetrim
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "Linux" || ${OPSYS} == "SunOS"
PLIST.ntptime= yes
PLIST.tickadj= yes
.elif ${OPSYS} == "IRIX"
PLIST.timetrim= yes
+.elif ${OPSYS} == "Darwin"
+PLIST.ntpsnmpd= yes
+PLIST.tickadj= yes
.endif
# chroot jail support
diff --git a/net/ntp4/PLIST b/net/ntp4/PLIST
index 1c3938a5db4..97807242131 100644
--- a/net/ntp4/PLIST
+++ b/net/ntp4/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.21 2016/04/27 15:59:19 wen Exp $
+@comment $NetBSD: PLIST,v 1.22 2016/05/13 15:50:13 bsiegert Exp $
bin/sntp
man/man1/sntp.1
man/man5/ntp.conf.5
@@ -9,6 +9,7 @@ man/man8/ntp-wait.8
man/man8/ntpd.8
man/man8/ntpdc.8
man/man8/ntpq.8
+${PLIST.ntpsnmpd}man/man8/ntpsnmpd.8
man/man8/ntptrace.8
${PLIST.tickadj}sbin/calc_tickadj
sbin/ntp-keygen
@@ -17,6 +18,7 @@ sbin/ntpd
sbin/ntpdate
sbin/ntpdc
sbin/ntpq
+${PLIST.ntpsnmpd}sbin/ntpsnmpd
${PLIST.ntptime}sbin/ntptime
sbin/ntptrace
${PLIST.tickadj}sbin/tickadj