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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Mar 24 19:40:29 GMT 2019


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

--- Comment #4 from Raphael Kubo da Costa <rakuco at FreeBSD.org> ---
> -	${ECHO_CMD} 'QMAKE_DEFAULT_LIBDIRS = ${LOCALBASE}/lib' >> ${CONFIGURE_WRKSRC}/.qmake.cache
> -	${ECHO_CMD} 'QMAKE_DEFAULT_INCDIRS = ${LOCALBASE}/include' >> ${CONFIGURE_WRKSRC}/.qmake.cache
> +	${ECHO_CMD} 'QMAKE_DEFAULT_LIBDIRS += ${LOCALBASE}/lib /usr/lib /lib' >> ${CONFIGURE_WRKSRC}/.qmake.cache
> +	${ECHO_CMD} 'QMAKE_DEFAULT_INCDIRS += ${LOCALBASE}/include /usr/include' >> ${CONFIGURE_WRKSRC}/.qmake.cache

Can you explain why this is necessary? /usr/lib, /lib and /usr/include should
all be part of the standard search paths.

> ++EXTRA_INCLUDEPATH	+= %%LOCALBASE%%/lib/gcc%%GCC_DEFAULT%%/include %%LOCALBASE%%/lib/gcc%%GCC_DEFAULT%%/include/c++

Wouldn't that cause those lines to be included even one's not using GCC? Plus,
aren't those added automatically by GCC itself?

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


More information about the kde-freebsd mailing list