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/ntp4/Makefile | |
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/ntp4/Makefile')
-rw-r--r-- | net/ntp4/Makefile | 8 |
1 files changed, 5 insertions, 3 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 |