Subject: Re: packages installed in NetBSD base system.
To: Brook Milligan <brook@biology.nmsu.edu>
From: abs <abs@mono.org>
List: tech-pkg
Date: 10/14/1999 16:20:40
How about using "is included in your ${OPSYS} distribution",
that way it will do some approximation of the right thing on
an arbitrary Linux distribution (and give people some
warning if someone has already installed a /usr/bin/rcs on their
Solaris box)
David/absolute abs@mono.org
.---- I've been too drunk to love ----.-- I've been too drunk to remember -.
| too drunk to care | the hell of the night before |
| looked like death, felt like hell | I've been drinking myself blind |
`------ been the worse for wear ------'-- and still I'll drink some more --'
On Thu, 14 Oct 1999, Brook Milligan wrote:
> devel/gtexinfo/Makefile:
> .if exists(/usr/bin/install-info)
> IGNORE= "is included with your NetBSD distribution"
> .endif
>
> devel/rcs/Makefile:
> ONLY_FOR_PLATFORM= SunOS-*-* # in NetBSD base system
>
> A simple solution for RCS would be something like
>
> .if exists(/usr/bin/rcs)
> IGNORE= "is included with your NetBSD distribution"
> .endif
>
> Given that we want to maintain some consistency in these messages and
> report already installed software, would it be useful to define
> something in bsd.pkg.mk like (choose a better variable name):
>
> INSTALLED_WITH_NETBSD="is included with your NetBSD distribution"
>
> Then all the package-specific makefiles could use
>
> .if exists(/usr/bin/XXX)
> IGNORE= ${INSTALLED_WITH_NETBSD}
> .endif
>
> and be consistent.
>
> Cheers,
> Brook
>