diff options
author | obache <obache> | 2008-06-24 11:47:13 +0000 |
---|---|---|
committer | obache <obache> | 2008-06-24 11:47:13 +0000 |
commit | b3240aad4686fc5f79a9f58e752198062ef1dbc6 (patch) | |
tree | bec61f0a173c849ffc043d20d2233bc6657d49eb /net | |
parent | dffc554d80327d9d319e4e025bc05b1c53ef23ed (diff) | |
download | pkgsrc-b3240aad4686fc5f79a9f58e752198062ef1dbc6.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')
-rw-r--r-- | net/ntp4/Makefile | 8 | ||||
-rw-r--r-- | net/ntp4/PLIST | 4 |
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 |