pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/ntp4 Fixes some problems noticed by Hasso Tepper i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7063d420bda6
branches:  trunk
changeset: 543896:7063d420bda6
user:      obache <obache%pkgsrc.org@localhost>
date:      Tue Jun 24 11:47:13 2008 +0000

description:
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:

 net/ntp4/Makefile |  8 +++++---
 net/ntp4/PLIST    |  4 ++--
 2 files changed, 7 insertions(+), 5 deletions(-)

diffs (52 lines):

diff -r 31358263b67d -r 7063d420bda6 net/ntp4/Makefile
--- a/net/ntp4/Makefile Tue Jun 24 10:29:20 2008 +0000
+++ b/net/ntp4/Makefile Tue Jun 24 11:47:13 2008 +0000
@@ -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 @@
 
 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 @@
 
 PLIST_VARS+=   ntptime timetrim
 
-.if ${OPSYS} == "NetBSD"
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly"
 PLIST.ntptime=         yes
 .elif ${OPSYS} == "IRIX"
 PLIST.timetrim=                yes
diff -r 31358263b67d -r 7063d420bda6 net/ntp4/PLIST
--- a/net/ntp4/PLIST    Tue Jun 24 10:29:20 2008 +0000
+++ b/net/ntp4/PLIST    Tue Jun 24 11:47:13 2008 +0000
@@ -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/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



Home | Main Index | Thread Index | Old Index