pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/audit-packages It doesn't work to put a condi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c8811bf1efe1
branches: trunk
changeset: 522489:c8811bf1efe1
user: dmcmahill <dmcmahill%pkgsrc.org@localhost>
date: Sun Dec 10 13:06:45 2006 +0000
description:
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:
security/audit-packages/Makefile | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 856511ee2ac4 -r c8811bf1efe1 security/audit-packages/Makefile
--- a/security/audit-packages/Makefile Sun Dec 10 11:52:33 2006 +0000
+++ b/security/audit-packages/Makefile Sun Dec 10 13:06:45 2006 +0000
@@ -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|@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 @@
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
Home |
Main Index |
Thread Index |
Old Index