UPDATING 20110730
Michel Talon
talon at lpthe.jussieu.fr
Mon Aug 1 17:21:52 UTC 2011
On Mon, Aug 01, 2011 at 09:39:05AM -0700, Jos Backus wrote:
> On Aug 1, 2011 7:10 AM, "Michel Talon" <talon at lpthe.jussieu.fr> wrote:
> [snip]
> > This being said if an upgrade tool needs to compute (partially) the INDEX,
> > most of the time is spent in running make -V <variables> in each port,
> > because make has to read and interpret enormous files. I don't see any way
> to
> > cut on that, or one should need to develop a special purpose version of
> make
> > to evaluate these variables, perhaps which should keep persistent
> > computations between ports (but this is dangerous).
>
> Or don't store lots of data in files in Makefile format. The make language
> is a poor data storage format that doesn't allow access to that data from
> other tools easily or efficiently. I'm struggling with a similar problem at
> $WORK.
>
> Jos
This is unfortunately impossible because the ports system is organized
around a make logic and the relevant dependency variables are only
obtained through running make on each ports Makefile *in the context* of
the gigantic makefiles (bsd.port.mk, etc) which are included.
--
Michel TALON
More information about the freebsd-ports
mailing list