summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-07-02 13:57:56 +0000
committeragc <agc@pkgsrc.org>1999-07-02 13:57:56 +0000
commit0b51cf6eeeac916fdc021faa79b5181e967d4ade (patch)
tree7d792c0e7c2ce164ab6d188731ae07b789b42d7c /pkgtools
parentd05adf715557117a6ba5e13d3500d88d555e7603 (diff)
downloadpkgsrc-0b51cf6eeeac916fdc021faa79b5181e967d4ade.tar.gz
Make this package work on Solaris.
Diffstat (limited to 'pkgtools')
-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: