Subject: Re: circular dependence if GCC_REQD=3 on NetBSD 1.6.2
To: Klaus Heinz <k.heinz.jun.fuenf@onlinehome.de>
From: Todd Vierling <tv@duh.org>
List: tech-pkg
Date: 06/28/2005 14:31:45
On Sat, 25 Jun 2005, Klaus Heinz wrote:

> I just tried to start a (partial) build of pkgsrc-2005Q2 on NetBSD 1.6.2.
> GCC_REQD=3 was set in /etc/mk.conf,

This does not belong in mk.conf; see comment in mk/compiler.mk:

# GCC_REQD
#       A list of version numbers used to determine the minimum
#       version of GCC required by a package.  This value should only
#       be appended to by a package Makefile.

You want USE_PKGSRC_GCC instead:

# USE_PKGSRC_GCC
#       Force using the appropriate version of GCC from pkgsrc based on
#       GCC_REQD instead of the native compiler.  Should only be set in
#       /etc/mk.conf.

which, as a minimum, ias already known to be gcc3.

-- 
-- Todd Vierling <tv@duh.org> <tv@pobox.com> <todd@vierling.name>