Subject: Re: circular dependency for gcc with USE_GCC[23]
To: Stoned Elipot <seb@starfleet.univ-paris7.fr>
From: Gavan Fantom <gavan@coolfactor.org>
List: tech-pkg
Date: 08/11/2003 13:40:28
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.

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.

> 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.

-- 
Gillette - the best a man can forget