summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint
diff options
context:
space:
mode:
authoragc <agc>1999-07-02 13:57:56 +0000
committeragc <agc>1999-07-02 13:57:56 +0000
commitffacfe638423172182bbc7c0d010597ff2d2d827 (patch)
tree7d792c0e7c2ce164ab6d188731ae07b789b42d7c /pkgtools/pkglint
parentc2dc5c21126008c71eb265bfdba2a7b9370f1e89 (diff)
downloadpkgsrc-ffacfe638423172182bbc7c0d010597ff2d2d827.tar.gz
Make this package work on Solaris.
Diffstat (limited to 'pkgtools/pkglint')
-rw-r--r--pkgtools/pkglint/Makefile10
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: