[kde-freebsd] [SVN Commit] area51/QT/devel/qmake4

Raphael Kubo da Costa rakuco at FreeBSD.org
Mon Apr 16 23:23:58 UTC 2012


SVN commit 8125 by rakuco:

qmake4: Fix the creation of the freebsd-{clang,llvm} mkspecs.

Qt 4.8.1 comes with a refactored use of the gcc/g++ mkspecs in the
mkspecs/common/ directory [1] which breaks the previous commands used
to create the freebsd-{clang,llvm} mkspecs automatically.

Fix it by
 - Not overwriting clang.conf, which is a valid mkspec file which we
   can use (and is already being used by the macx-clang mkspec in Qt5)
 - Not trying to use mkspecs/common/g++.conf, which does not exist
   anymore
 - Simply using freebsd-g++/ as a template for the new mkspecs and
   replace the g++-unix.conf include with a clang/llvm.conf one

People already using clang as their day-to-day compiler are highly
advised to test this change.

[1] Mostly commit 86636e0 in Qt's qt.git repository.



 M  +3 -5      Makefile  




More information about the kde-freebsd mailing list