Subject: Re: RFC: new variable SUGGESTS, Part II
To: Rene Hexel <rh@netbsd.org>
From: Jan Schaumann <jschauma@netbsd.org>
List: tech-pkg
Date: 09/04/2002 00:06:47
Rene Hexel <rh@netbsd.org> wrote:
> On Tue, 2002-09-03 at 12:33, Jan Schaumann wrote:
 
> > TAKE_SUGGESTS can be set to YES, NO, and ASK.  YES accepts all
> > suggestions, NO rejects all.  ASK makes 'make' ask for every single
> > suggestion.  Did you not notice the 'ASK' option?
> 
>   I was more thinking along the lines of automation.  It might be useful
> to be able to automatically take suggestions for certain packages while
> not taking others.

How would you do that?  If you want to specify beforehand that you only
want to accept certain packages, you'd have to know exactly which ones
you want.  I think I don't understand you correctly here -- if you want
to install whatever is suggested (just as you accept everything that the
meta-pkg for gnome claims is necessary to build the gnome-"dekstop"),
you simply set TAKE_SUGGESTS to YES.

If you know which suggestions you would want, you could, theoretically,
overwrite SUGGESTS by hand and set TAKE_SUGGESTS to YES, but that'd be
kinda beside the point, I feel.

>   Take a look at gnome, for example.

Well, are you able to say "install all of gnome, but do not install pan
and ee"?  With meta-pkgs you _are_ making an all-or-nothing decision.

> I tend to build packages like this unattended, because it takes
> several hours.  To be able to specify which suggestions to include
> automatically might be a plus.

As I said, I may be misunderstanding you here - how would you implement
this?  As a regular expression?  Category-based?

-Jan

-- 
Life," said Marvin, "don't talk to me about life."