[Bug 231542] devel/qt5-qmake: fix build with gcc-based architectures

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Sep 28 06:02:34 BST 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231542

--- Comment #12 from Tobias C. Berner <tcberner at freebsd.org> ---
(In reply to Mark Linimon from comment #10)
Technically you can only have one gcc set to build Qt. The one used in
devel/qt5-qmake and written there in the qmake.conf used, which we have two of:
freebsd-clang and freebsd-gcc. 

So if you want it general you need to expose a new configuration variable
QT_GCC_VERSION
which defaults to GCC_DEFAULT or can be overridden via make.conf (and will take
affect in qt5-qmake as the other will use qmake to get the compiler).

Then also add explicit build & run depends on lang/gcc${QT_GCC_VERSION}


But... That also needs to work well with compiler.mk and not on clang
architectures (as I fear many fancy errors).


Mfg Tobias

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the kde-freebsd mailing list