diff options
author | dmcmahill <dmcmahill> | 2006-12-10 13:06:45 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2006-12-10 13:06:45 +0000 |
commit | f4d4598231944f559bf7f6606c292697456d1c9e (patch) | |
tree | 9adfbf0260fee372afbba979744f6c4a9205fb99 /security | |
parent | 1fc19a81ba4587b9b7fbdf4a2bd2b700dc215fb1 (diff) | |
download | pkgsrc-f4d4598231944f559bf7f6606c292697456d1c9e.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')
-rw-r--r-- | security/audit-packages/Makefile | 8 |
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 |