summaryrefslogtreecommitdiff
path: root/net/ntp4/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-04-12 22:42:57 +0000
committerjlam <jlam@pkgsrc.org>2008-04-12 22:42:57 +0000
commit841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a (patch)
treefdd67c81079412bf94013749a954125434a9baca /net/ntp4/Makefile
parent6874584eae20f517f70816571f6d4ac696db16b3 (diff)
downloadpkgsrc-841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a.tar.gz
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'net/ntp4/Makefile')
-rw-r--r--net/ntp4/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/net/ntp4/Makefile b/net/ntp4/Makefile
index 59916541a3a..c52c084bb22 100644
--- a/net/ntp4/Makefile
+++ b/net/ntp4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2008/01/24 11:55:42 is Exp $
+# $NetBSD: Makefile,v 1.54 2008/04/12 22:43:08 jlam Exp $
#
DISTNAME= ntp-4.2.0
@@ -37,8 +37,7 @@ post-install:
.include "../../mk/bsd.prefs.mk"
-TIMETRIM= ""
-NO_TIMETRIM= "@comment "
+PLIST_VARS+= ntptime timetrim
.if ${OPSYS} == "NetBSD"
#
@@ -55,15 +54,11 @@ LOWER_OPSYS_VERSUFFIX= 2
# Don't pick up libwww's -lmd5, until buildlink can be fixed.
#
CONFIGURE_ENV+= ac_cv_lib_md5_MD5Init=no
+PLIST.ntptime= yes
.elif ${OPSYS} == "IRIX"
-TIMETRIM= "@comment "
-NO_TIMETRIM= ""
-.elif ${OPSYS} == "SunOS" && ${LOWER_OPSYS} == "solaris"
-TIMETRIM= "@comment "
+PLIST.timetrim= yes
.endif
-PLIST_SUBST+= TIMETRIM=${TIMETRIM} NO_TIMETRIM=${NO_TIMETRIM}
-
.include "../../security/openssl/buildlink3.mk"
CONFIGURE_ARGS+= --with-openssl-incdir=${SSLBASE}/include