Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2019 19:09:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 235921] Mk/Uses/qt-dist.mk: fix build with GCC-based architectures
Message-ID:  <bug-235921-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235921

            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@FreeBSD.org
          Reporter: pkubaj@anongoth.pl
             Flags: maintainer-feedback?(kde@FreeBSD.org)
          Assignee: kde@FreeBSD.org

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

Qt 5.12.1 made building with GCC on FreeBSD fail. Fix this by adding releva=
nt
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 th=
at
headers in those directories are detected during configuring.

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

Hardware sponsored by IntegriCloud.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235921-7788>