Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Apr 2009 12:33:54 +0200
From:      Mel Flynn <mel.flynn+fbsd.questions@mailing.thruhere.net>
To:        freebsd-questions@freebsd.org
Cc:        Jonathan McKeown <j.mckeown@ru.ac.za>
Subject:   Re: make run-depends-list-recursive?
Message-ID:  <200904161233.54841.mel.flynn%2Bfbsd.questions@mailing.thruhere.net>
In-Reply-To: <200904150926.12007.j.mckeown@ru.ac.za>
References:  <49E274F5.4030001@onetel.com> <200904142102.09258.mel.flynn%2Bfbsd.questions@mailing.thruhere.net> <200904150926.12007.j.mckeown@ru.ac.za>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 15 April 2009 09:26:11 Jonathan McKeown wrote:
> On Tuesday 14 April 2009 21:02:08 Mel Flynn wrote:
> > On Monday 13 April 2009 03:56:15 Tim Judd wrote:
> > > make all-depends-list
> >
> > Two things:
> > 1) It surpresses config target and if a port has OPTIONS set, then you
> > may get surprised once you've configured the port and ticked/unticked an
> > option
>
> I'm not sure what you're saying here, but if you want to avoid a surprise
> you can run make config to choose options, then re-run make
> all-depends-list: the dependency list changes according to the config
> options.

In theory, yes. In practice, make config-recursive (which is what you'd use) 
takes all-depends-list as input and as such suffers from the same flaw:

config-recursive -> all-depends-list
                       entry => config-conditional
                                     make config
                                          new dep not in list

I found it easier to use this, especially when building multiple ports from a 
list of origins, rather then waking up to an options screen.
-- 
Mel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904161233.54841.mel.flynn%2Bfbsd.questions>