summaryrefslogtreecommitdiff
path: root/security/audit-packages
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2006-12-10 13:06:45 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2006-12-10 13:06:45 +0000
commite53b9d9e831d31c8b85beb1c33beefd396906fd3 (patch)
tree9adfbf0260fee372afbba979744f6c4a9205fb99 /security/audit-packages
parent58b55d21aba63b34ac466a24b30a64db289ba503 (diff)
downloadpkgsrc-e53b9d9e831d31c8b85beb1c33beefd396906fd3.tar.gz
It doesn't work to put a conditional USE_TOOLS+= nroff in the middle
of the do-build target. bmake does not like that.
Diffstat (limited to 'security/audit-packages')
-rw-r--r--security/audit-packages/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/security/audit-packages/Makefile b/security/audit-packages/Makefile
index 5c4088e2699..7598eb76fa8 100644
--- a/security/audit-packages/Makefile
+++ b/security/audit-packages/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.74 2006/12/09 12:30:46 adrianp Exp $
+# $NetBSD: Makefile,v 1.75 2006/12/10 13:06:45 dmcmahill Exp $
DISTNAME= audit-packages-1.46
CATEGORIES= security pkgtools
@@ -55,6 +55,10 @@ SUBST_SED.paths+= -e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g'
SUBST_SED.paths+= -e 's|@FIND@|${FIND}|g'
SUBST_MESSAGE.paths= Fixing paths.
+.if ${OPSYS} == "SunOS" || ${OPSYS} == "AIX"
+USE_TOOLS+= nroff
+.endif
+
do-build:
for f in audit-packages audit-packages.0 audit-packages.8 \
download-vulnerability-list; do \
@@ -62,8 +66,6 @@ do-build:
done
.if ${OPSYS} == "SunOS" || ${OPSYS} == "AIX"
-USE_TOOLS+= nroff
-
# pre-created man-pages are "mandoc" pages, these OS need "man",
# so regen the .0 page
${NROFF} -man ${WRKSRC}/audit-packages.8 >${WRKSRC}/audit-packages.0