[kde-freebsd] bsd.qt.mk vs bsd.gcc.mk: USE_GCC -> CXX -> QMAKESPEC

Mel Flynn rflynn at acsalaska.net
Sat Jun 2 20:09:27 UTC 2012


On 2-6-2012 10:21, Andriy Gapon wrote:
> 
> bsd.qt.mk sets QMAKESPEC based on CXX.  This is done in the "early" stage of
> bsd.port.mk processing (!_POSTMKINCLUDED).
> bsd.gcc.mk may change CXX value based on USE_GCC (or WITH_GCC/WANT_CC in the
> future).  But this is done in the "main" stage (_POSTMKINCLUDED).
> 
> Thus, QMAKESPEC may fail to honor USE_GCC.

I'm setting QMAKESPEC in my shell startup, because bsd.qt.mk hints that
when one wants to use ccache one should write their own spec and set
QMAKESPEC. So all the work USE_GCC is doing is in vain, unless it
overrides QMAKESPEC.

-- 
Mel


More information about the kde-freebsd mailing list