diff options
author | jlam <jlam@pkgsrc.org> | 2008-04-12 22:42:57 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-04-12 22:42:57 +0000 |
commit | 841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a (patch) | |
tree | fdd67c81079412bf94013749a954125434a9baca /security/chkrootkit | |
parent | 6874584eae20f517f70816571f6d4ac696db16b3 (diff) | |
download | pkgsrc-841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a.tar.gz |
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'security/chkrootkit')
-rw-r--r-- | security/chkrootkit/Makefile | 6 | ||||
-rw-r--r-- | security/chkrootkit/PLIST | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/security/chkrootkit/Makefile b/security/chkrootkit/Makefile index c941cf76a71..0a1cdce7035 100644 --- a/security/chkrootkit/Makefile +++ b/security/chkrootkit/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2007/07/11 20:16:33 adrianp Exp $ +# $NetBSD: Makefile,v 1.13 2008/04/12 22:43:09 jlam Exp $ # DISTNAME= chkrootkit-0.47 @@ -33,9 +33,10 @@ SUBST_SED.helper= -e "s|./chklastlog|${PREFIX}/bin/chklastlog|g" \ .include "../../mk/compiler.mk" +PLIST_VARS+= wtmpx .if ${OPSYS} == "SunOS" PROGRAMS+= check_wtmpx -PLIST_SUBST+= WTMPX="" +PLIST.wtmpx= yes CFLAGS+= -DSOLARIS2 LDFLAGS+= -lsocket . if empty(CC_VERSION:Mgcc-*) @@ -44,7 +45,6 @@ MAKE_ENV+= STATIC="-B static" MAKE_ENV+= STATIC="-static" . endif .else -PLIST_SUBST+= WTMPX="@comment " MAKE_ENV+= STATIC="-static" .endif diff --git a/security/chkrootkit/PLIST b/security/chkrootkit/PLIST index 55fbf3f6c7d..faf08a5de8a 100644 --- a/security/chkrootkit/PLIST +++ b/security/chkrootkit/PLIST @@ -1,5 +1,5 @@ -@comment $NetBSD: PLIST,v 1.2 2004/09/28 10:41:59 adrianp Exp $ -${WTMPX}bin/check_wtmpx +@comment $NetBSD: PLIST,v 1.3 2008/04/12 22:43:09 jlam Exp $ +${PLIST.wtmpx}bin/check_wtmpx bin/chkdirs bin/chklastlog bin/chkproc |