Subject: Re: CVS commit: othersrc/bootstrap-pkgsrc
To: None <>
From: grant beattie <>
List: tech-pkg
Date: 02/28/2003 03:00:41
On Thu, Feb 27, 2003 at 10:37:00AM -0500, Jan Schaumann wrote:

> mk/defs.* should, IMHO, not be generated on the fly.  In it, we should
> supply default values that hold for most versions of that operating
> system.  If the version at hand deviates, the user can (and should) set
> the paths by hand in /etc/mk.conf.

agreed. mmm, documentation.

> What we _can_ do, is check during bootstrap-time what's going on and if
> it deviates from the norm:
> check if binaries are found in a different location
> if yes, add FOO=/found/bin/foo to mk.conf.example
> if not, or binaries are not found, add FOO="NOT FOUND - FILL IN" to
> /etc/mk.conf and set a flag.
> At the end of bootstrapping, if some binaries are not found display a
> warning to the user.

That seems fine. I think it also makes sense for and friends
to display a helpful message and die cleanly if the required tools are
not found.