Subject: Re: packages installed in NetBSD base system.
To: None <simonb@netbsd.org>
From: Brook Milligan <brook@biology.nmsu.edu>
List: tech-pkg
Date: 10/14/1999 08:25:21
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