Date: Sun, 24 Mar 2019 19:40:29 +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-7Gib8PiUUu@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-235921-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-235921-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235921 --- Comment #4 from Raphael Kubo da Costa <rakuco@FreeBSD.org> --- > - ${ECHO_CMD} 'QMAKE_DEFAULT_LIBDIRS =3D ${LOCALBASE}/lib' >> ${CONFIGURE= _WRKSRC}/.qmake.cache > - ${ECHO_CMD} 'QMAKE_DEFAULT_INCDIRS =3D ${LOCALBASE}/include' >> ${CONFI= GURE_WRKSRC}/.qmake.cache > + ${ECHO_CMD} 'QMAKE_DEFAULT_LIBDIRS +=3D ${LOCALBASE}/lib /usr/lib /lib'= >> ${CONFIGURE_WRKSRC}/.qmake.cache > + ${ECHO_CMD} 'QMAKE_DEFAULT_INCDIRS +=3D ${LOCALBASE}/include /usr/inclu= de' >> ${CONFIGURE_WRKSRC}/.qmake.cache Can you explain why this is necessary? /usr/lib, /lib and /usr/include shou= ld all be part of the standard search paths. > ++EXTRA_INCLUDEPATH +=3D %%LOCALBASE%%/lib/gcc%%GCC_DEFAULT%%/include %%L= OCALBASE%%/lib/gcc%%GCC_DEFAULT%%/include/c++ Wouldn't that cause those lines to be included even one's not using GCC? Pl= us, aren't those added automatically by GCC itself? --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235921-7788-7Gib8PiUUu>