maintainer-feedback requested: [Bug 235921] Mk/Uses/qt-dist.mk: fix build with GCC-based architectures

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 21 19:09:51 GMT 2019


Bugzilla Automation <bugzilla at FreeBSD.org> has asked kde at FreeBSD.org for
maintainer-feedback:
Bug 235921: Mk/Uses/qt-dist.mk: fix build with GCC-based architectures
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235921



--- Description ---
Qt 5.12.1 made building with GCC on FreeBSD fail. Fix this by adding relevant
system directories to QMAKE_DEFAULT_INCDIRS and QMAKE_DEFAULT_LIBDIRS since
they are not added automatically when building with GCC (only with Clang).

Also add %%LOCALBASE%%/lib/gcc%%GCC_DEFAULT%%/include and
%%LOCALBASE%%/lib/gcc%%GCC_DEFAULT%%/include/c++ to EXTRA_INCLUDEPATH so that
headers in those directories are detected during configuring.

Tested by Poudriere build of devel/qt5 on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.


More information about the kde-freebsd mailing list