Bugzilla Automation <bugzi...@freebsd.org> has asked k...@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.