Subject: Re: nroff not found?
To: None <netbsd-help@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 11/22/2003 22:04:33
On Sat, 22 Nov 2003, Michael G. Schabert wrote:
> >> nroff: not found
> >> *** Error code 127
> >
> >nroff is in the groff package. If nroff is not available then it should
> >have a DEPENDS on groff.
>
> nroff is part of text.tgz in the NetBSD distribution, no packages necessary.
That is too easy. I just wasn't thinking it was NetBSD. (And I didn't
realize I was on netbsd-help list.)
So the audit-packages could have something like:
.if !exists(/usr/bin/nroff)
. if ${OPSYS} == "NetBSD"
PKG_FAIL_REASON+= "You need to have the 'text' set installed to build this package!"
. else
BUILD_DEPENDS+= groff-[0-9]*:../../textproc/groff
NROFF= ${LOCALBASE}/bin/nroff
. endif
.endif
Jeremy C. Reed
http://www.reedmedia.net/