[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


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

            Bug ID: 235921
           Summary: Mk/Uses/qt-dist.mk: fix build with GCC-based
                    architectures
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde at FreeBSD.org
          Reporter: pkubaj at anongoth.pl
             Flags: maintainer-feedback?(kde at FreeBSD.org)
          Assignee: kde at FreeBSD.org

Created attachment 202236
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=202236&action=edit
patch

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.

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


More information about the kde-freebsd mailing list