Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2012 11:55:54 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        bf1783@gmail.com
Cc:        "b. f." <bf1783@googlemail.com>, freebsd-ports@FreeBSD.org
Subject:   Re: graphics/png does not build with lang/gcc
Message-ID:  <4F990D9A.3090100@FreeBSD.org>
In-Reply-To: <4F578AA7.4060008@FreeBSD.org>
References:  <CAGFTUwPUFdP=Z20%2BbL59qFuh_V6R1R-GcyrK03dxESL6ZyGz7A@mail.gmail.com> <4F578AA7.4060008@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
on 07/03/2012 18:19 Andriy Gapon said the following:
> on 07/03/2012 14:11 b. f. said the following:
>> you can just
>> install lang/gcc or lang/gcc46 and set USE_GCC=4.6 in your build
>> environment, an included Makefile, or on the command line

And an additional problem with this recommendation is that if a port has e.g.
USE_GCC=4.2+ in its Makefile, then the user setting gets overridden (at least if
it's in make.conf).  So a better way to ask for gcc46+ is needed.

> BTW, our traditional taxonomy seems to be: "USE_XXX" is for stuff that ports
> really require, "WITH_XXX" is for user preferences.
> So it might make sense to create a WITH_GCC knob specifically for the use that you
> suggested above.
> 


-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F990D9A.3090100>