On 2-6-2012 23:10, Alberto Villa wrote: > On Sat, Jun 2, 2012 at 10:09 PM, Mel Flynn <rfl...@acsalaska.net> wrote: >> 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. > > Unless you redefine CC and CXX, you don't have to do this.
Yep, I do. I prefer it over mangling with PATH since setting NO_CCACHE will have zero effect. It's also the way suggested by all FreeBSD guides in the wiki relating to changing the default compiler. The fact that qmake can't use the proper variables in the environment is the root cause of the problem and this also applies to libtool but even worse (requires recompilation). I haven't checked this, but does qmake not support variables in the spec files? -- Mel _______________________________________________ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information