pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/audit-packages Rethink the nroff dilemma:
details: https://anonhg.NetBSD.org/pkgsrc/rev/2cb7ff3d480f
branches: trunk
changeset: 472638:2cb7ff3d480f
user: jschauma <jschauma%pkgsrc.org@localhost>
date: Sun Apr 11 18:14:53 2004 +0000
description:
Rethink the nroff dilemma:
only regen on SunOS or AIX - the pre-generated pages _are_ mandoc type
pages, so we can use them on more platforms than just Irix.
diffstat:
security/audit-packages/Makefile | 18 +++++-------------
1 files changed, 5 insertions(+), 13 deletions(-)
diffs (39 lines):
diff -r d23fa7e0547f -r 2cb7ff3d480f security/audit-packages/Makefile
--- a/security/audit-packages/Makefile Sun Apr 11 18:14:46 2004 +0000
+++ b/security/audit-packages/Makefile Sun Apr 11 18:14:53 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2004/04/09 16:06:59 jschauma Exp $
+# $NetBSD: Makefile,v 1.46 2004/04/11 18:14:53 jschauma Exp $
DISTNAME= audit-packages-1.29
CATEGORIES= security pkgtools
@@ -20,14 +20,6 @@
.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "SunOS" || ${OPSYS} == "AIX"
-# This doesn't create readable manual pages. "mandoc" should be added
-# to zoularis.
-NROFF= nroff -man
-.else
-NROFF= nroff -mandoc
-.endif
-
do-build:
@for f in audit-packages audit-packages.0 audit-packages.8 \
download-vulnerability-list; do \
@@ -46,10 +38,10 @@
-e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g' \
${FILESDIR}/$$f > ${WRKSRC}/$$f; \
done
-.if ${OPSYS} == "IRIX"
- ${CP} ${FILESDIR}/audit-packages.0 ${WRKSRC}/audit-packages.0
-.else
- ${NROFF} ${WRKSRC}/audit-packages.8 >${WRKSRC}/audit-packages.0
+.if ${OPSYS} == "SunOS" || ${OPSYS} == "AIX"
+ # 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
.endif
do-install:
Home |
Main Index |
Thread Index |
Old Index