Subject: Re: pkg_install refuses to compile
To: Jeremy C. Reed <reed@reedmedia.net>
From: Alistair Crooks <agc@pkgsrc.org>
List: tech-pkg
Date: 04/16/2001 21:18:24
On Mon, Apr 16, 2001 at 12:42:37PM -0700, Jeremy C. Reed wrote:
> On Mon, 16 Apr 2001, Dave Burgess wrote:
> 
> > I wonder if the package system shouldn't do a sanity check for the basic
> > collections during it's build phase - a check for tmac.andor, maybe some
> 
> I agree. But some of this checking should/could be done per package.
> 
> For example, if someone is trying to install a website log analysis
> program that needs some X headers (to build images), it should complain
> with an understandable and friendly message that xcomp or xbase isn't
> installed.
> 
>    Jeremy C. Reed
>    http://www.reedmedia.net/
> 

Like:

	"${PKGNAME} uses X11, but ${X11BASE} not found"

(around line 1117 of bsd.pkg.mk)

Regards,
Alistair