Subject: Re: how to require gcc3?
To: dieter roelants <dieter.NetBSD@pandora.be>
From: Julio M. Merino Vidal <jmmv84@gmail.com>
List: tech-pkg
Date: 08/13/2006 10:27:28
On 8/13/06, dieter roelants <dieter.NetBSD@pandora.be> wrote:
> On Sat, 12 Aug 2006 23:43:21 +0200 (CEST)
> Hubert Feyrer <hubert@feyrer.de> wrote:
>
> >
> > So neither spamprobe nor qemu build with gcc4, which is a bit of a mess
> > for NetBSD 4.0. Can someone please remind me how to ask pkgsrc to please
> > use gcc3 (and install it from pkgsrc if necessary)?
>
> I have in mk.conf:
>
> .if !empty(DISTNAME) && !empty(DISTNAME:Mqemu-*)
> USE_PKGSRC_GCC=         yes
> .endif

Aside having those "side-effect" problems mentioned by Hubert, this is
not automatic.  Ideally qemu could simply pull gcc3 in (iff required)
and use it, without the user having to do anything special...

-- 
Julio M. Merino Vidal <jmmv84@gmail.com>
The Julipedia - http://julipedia.blogspot.com/