https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195105
--- Comment #9 from [email protected] --- A commit references this bug: Author: rakuco Date: Wed Dec 30 14:03:43 UTC 2015 New revision: 404856 URL: https://svnweb.freebsd.org/changeset/ports/404856 Log: qmake5: Set QMAKE_{INC,LIB}DIR_OPENGL. Follow-up to r404694. When we stopped setting CPATH and LIBRARY_PATH, some Qt5-based ports (astro/stellarium, audio/musescore, audio/cantata, irc/quassel, deskutils/owncloudclient) broke because the QtGui headers end up bringing in GL/gl.h, but -I/usr/local/include was no longer being passed to the compiler. This is generally caused by QMAKE_{INC,LIB}DIR_OPENGL being empty, which leads to some parts of Qt5ConfigExtras.cmake.in being left out when being processed into Qt5ConfigExtras.cmake. Specifically, the bits of code that make the directories containing GL/gl.h and libGL.so a dependency of the Qt5::Gui CMake target were not present. Fix it by setting those two variables again like we also do in devel/qmake4. Most ports broken by r404694 are fixed by this change, but not all: * audio/cantata: Accidentally fixed by this change. Upstream includes the TagLib headers wrongly. `taglib-config --cflags' returns -I${LOCALBASE}/include/taglib, but the code references headers as <taglib/foo.h> instead of <foo.h>. * multimedia/obs-studio, textproc/sigil, x11/antimicro: Those remain broken, linker calls pass -lfoo instead of /path/to/libfoo.so, and they were only working because we were passing LIBRARY_PATH to the linker before. They need to be fixed separately. Thanks to antoine@ for the fallout heads-up. PR: 194088 PR: 195105 PR: 198720 MFH: 2015Q4 Changes: head/devel/qmake5/Makefile head/devel/qmake5/files/patch-mkspecs__common__freebsd.conf head/x11-toolkits/qt5-gui/Makefile -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ kde-freebsd mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information
