pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg requires gcc44 or later, but won't use existing gcc46?



* On 2014-03-24 at 16:52 GMT, John D. Baker wrote:

> On Mon, 24 Mar 2014, Richard PALO wrote:
> 
> >We will probably need to see your error messages as to why your gcc46
> >is not being used.
> 
> There were no error messages.  The libvpx Makefile has "GCC_REQD=4.4",
> causing it to depend explicitly on "lang/gcc44".  Not finding any
> "lang/gcc44" package already installed, it then tries to build
> "lang/gcc44".

This is wrong, and is fixed in pkgsrc trunk.  GCC_REQD should be
appended to, not set.  Setting it means that any newer versions are
ignored, hence pulling in gcc44 regardless of having 4.6 installed.

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index