Subject: Re: circular dependency for gcc with USE_GCC[23]
To: Gavan Fantom <gavan@coolfactor.org>
From: Stoned Elipot <seb@starfleet.univ-paris7.fr>
List: tech-pkg
Date: 08/11/2003 14:58:05
On Mon, Aug 11, 2003 at 01:40:28PM +0100, Gavan Fantom wrote:
> On Mon, 11 Aug 2003, Stoned Elipot wrote:
> 
> > It does the job that's right. But I tested only the patch line
> > regarding 'CLEAN_DEPENDS_LIST_SEEN=' in bsd.pkg.mk. There is no need for
> > the patch on gcc.buildlink2.mk or for this -unused?- _PKGSRC_DEPS.
> 
> _PKGSRC_DEPS is an already existing variable. I've just ensured it's
> defined when empty, and then used it in gcc.buildlink2.mk.

Yeah sorry I missed/forgotten it.

> The reason you need the rest of the patch is so that you can build gcc
> with USE_GCC2 or gcc3 with USE_GCC3. I suggest you pkg_delete gcc and
> gmake, and then try to build gcc with USE_GCC2 set in mk.conf.

Ouch that's a even nastier manifestation of the some problem I suppose.
I dare to say that the culprit is tools.mk ;)

> > Anyway I propose something else, which would reduce the clutter a bit in
> > bsd.pkg.mk: get ride of the target 'clean-depends-list' and just use
> > 'show-all-depends-dirs-excl' instead.
> 
> That seems OK.

Yeah I think this one will go in at least for the
reduce-fat on bsd.pkg.mk goal. But I admit is it a bit slower
than clean-depends-list...