summaryrefslogtreecommitdiff
path: root/net/ntp4
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-06-24 11:47:13 +0000
committerobache <obache@pkgsrc.org>2008-06-24 11:47:13 +0000
commit9ea7698423cbf896ca28b13873c93310590a50d3 (patch)
treebec61f0a173c849ffc043d20d2233bc6657d49eb /net/ntp4
parent7c79e0a5663f8c653bc0576e2cd7745c5acf3815 (diff)
downloadpkgsrc-9ea7698423cbf896ca28b13873c93310590a50d3.tar.gz
Fixes some problems noticed by Hasso Tepper in PR 39032.
* Fix perl path in scripts, add runtime dependency on perl. * Fix unwanted PLIST subst. * DragonFly also support ntptime. Bump PKGREVISION.
Diffstat (limited to 'net/ntp4')
-rw-r--r--net/ntp4/Makefile8
-rw-r--r--net/ntp4/PLIST4
2 files changed, 7 insertions, 5 deletions
diff --git a/net/ntp4/Makefile b/net/ntp4/Makefile
index be2c6357c09..cdd082214f2 100644
--- a/net/ntp4/Makefile
+++ b/net/ntp4/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.56 2008/06/08 04:53:27 obache Exp $
+# $NetBSD: Makefile,v 1.57 2008/06/24 11:47:13 obache Exp $
#
DISTNAME= ntp-4.2.4p4
+PKGREVISION= 1
CATEGORIES= net time
MASTER_SITES= http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ \
ftp://ftp.udel.edu/pub/ntp/ntp4/
@@ -17,9 +18,10 @@ CONFLICTS+= openntpd-[0-9]*
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
-USE_TOOLS+= pax perl
+USE_TOOLS+= pax perl:run
CONFIGURE_ARGS+=--sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ENV+= PATH_PERL=${PERL5}
DOCDIR= ${DESTDIR}${PREFIX}/share/doc/ntp4
EXAMPLESDIR= ${DESTDIR}${PREFIX}/share/examples/ntp4
@@ -38,7 +40,7 @@ post-install:
PLIST_VARS+= ntptime timetrim
-.if ${OPSYS} == "NetBSD"
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly"
PLIST.ntptime= yes
.elif ${OPSYS} == "IRIX"
PLIST.timetrim= yes
diff --git a/net/ntp4/PLIST b/net/ntp4/PLIST
index ff5c55bd0e4..6e7d69f6c4a 100644
--- a/net/ntp4/PLIST
+++ b/net/ntp4/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2008/06/08 04:53:27 obache Exp $
+@comment $NetBSD: PLIST,v 1.11 2008/06/24 11:47:13 obache Exp $
bin/ntp-keygen
bin/ntp-wait
bin/ntpd
@@ -33,7 +33,7 @@ share/doc/ntp4/build/hints/freebsd
share/doc/ntp4/build/hints/hpux
share/doc/ntp4/build/hints/linux
share/doc/ntp4/build/hints/mpeix
-share/doc/ntp4/build/hints/${LOWER_OPSYS}
+share/doc/ntp4/build/hints/netbsd
share/doc/ntp4/build/hints/notes-xntp-v3
share/doc/ntp4/build/hints/parse
share/doc/ntp4/build/hints/refclocks