[Bug 266389] devel/qtcreator configure fails if yaml-cpp is installed, also does not build if googletest installed

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Sep 19 01:57:26 BST 2022


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

--- Comment #6 from Florian Walpen <dev at submerge.ch> ---
(In reply to alt2600 from comment #5)

Could you try the following Makefile lines instead of your patch:

CMAKE_ON+=      CMAKE_DISABLE_FIND_PACKAGE_Googletest
CMAKE_OFF+=     yaml-cpp_FOUND

This worked for me when building with devel/yaml-cpp and devel/googletest
installed. The first line disables Googletest completely, but doesn't seem to
change what is installed and packaged. Probably disables unit tests, but we
don't use them at the moment.
The second line lets CMake skip the part you patched out. An internal yaml-cpp
is built and the plugin depending on it too.

None of that is CMake's fault though - it's QtCreator which fails to import /
bundle things in a reasonable way, thereby replacing the system CMake scripts 
that would work correctly.
They even misused their own qmake build scripts, long time ago when I did a
pkgsrc port. Maybe a tradition or something...

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


More information about the kde-freebsd mailing list