diff options
Diffstat (limited to 'pkgtools/pkglint/Makefile')
-rw-r--r-- | pkgtools/pkglint/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile index d8a50ff26a2..eeddc01bd4c 100644 --- a/pkgtools/pkglint/Makefile +++ b/pkgtools/pkglint/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 1999/06/24 23:40:13 abs Exp $ +# $NetBSD: Makefile,v 1.12 1999/07/02 13:57:56 agc Exp $ # DISTNAME= pkglint-1.72 @@ -22,6 +22,12 @@ MAKE_ENV= PKGSRCDIR=${PKGSRCDIR} .include "../../mk/bsd.prefs.mk" +.if ${OPSYS} == "SunOS" +NROFF= gnroff +.else +NROFF= nroff +.endif + do-build: .for file in pkglint lintpkgsrc plist-clash ${SED} -e 's|@PREFIX@|${PREFIX}|g' \ @@ -34,7 +40,7 @@ do-build: -e 's|@PORTSDIR@|${PKGSRCDIR}|g' \ < ${FILESDIR}/${file}.1 \ > ${WRKSRC}/${file}.1 - nroff -mandoc ${WRKSRC}/${file}.1 >${WRKSRC}/${file}.0 + ${NROFF} -mandoc ${WRKSRC}/${file}.1 >${WRKSRC}/${file}.0 .endfor do-install: |