SVN commit 7667 by rakuco: Make sure Qt's include and library paths are added before the ports ones.
So far we were using an ugly hack which passed -L${PORTSDIR}/${QT_LIBDIR_REL} to Qt's configure script when building a Qt port. However, this made this directory always be added to the compiler and linker calls before any other directory, be it ${PORTSDIR} itself or the current build directory. This meant that Qt ended up picking the currently installed headers and libraries instead of the ones being built, which resulted in random build failures. We now remove the -L hack and instead change the value of QT_INCDIR and QT_LIBDIR in the mkspecs so that Qt's include and library paths are always included before ${PORTSDIR}, but always after the current build directory. The only downside is that non-Qt ports which use qmake will end up including Qt's include and library paths twice (once before and once after ${PORTSDIR} itself), but that should not cause any trouble. M +0 -1 Mk/bsd.qt.mk A devel/qmake4/files/patch-qt4-before-ports-in-mkspecs.diff _______________________________________________ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information