Created attachment 198723 [details] osg poudriere log graphics/osg (version 3.4.1_3) fails with the following error during the configure step when the QT5 option is set (full poudriere log attached): CMake Error at CMakeLists.txt:713 (FIND_PACKAGE): By not providing "FindQt5Widgets.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5Widgets", but CMake did not find one. Could not find a package configuration file provided by "Qt5Widgets" with any of the following names: Qt5WidgetsConfig.cmake qt5widgets-config.cmake Add the installation prefix of "Qt5Widgets" to CMAKE_PREFIX_PATH or set "Qt5Widgets_DIR" to a directory containing one of the above files. If "Qt5Widgets" provides a separate development package or SDK, be sure it has been installed. -- Configuring incomplete, errors occurred! See also "/wrkdirs/usr/ports/graphics/osg/work/.build/CMakeFiles/CMakeOutput.log". See also "/wrkdirs/usr/ports/graphics/osg/work/.build/CMakeFiles/CMakeError.log". *** Error code 1 Stop. make: stopped in /usr/ports/graphics/osg
There are some newer verions: https://github.com/openscenegraph/OpenSceneGraph/releases
Latest version: 3.6.4.
Created attachment 206359 [details] Patch to port makefile It is not an upstream issue. Adding "widgets" to QT5_USE fixes this - see patch.
Created attachment 206364 [details] Patch to port makefile Updated patch fixing USES too.
A commit references this bug: Author: amdmi3 Date: Tue Dec 3 20:24:44 UTC 2019 New revision: 518965 URL: https://svnweb.freebsd.org/changeset/ports/518965 Log: - Fix build with QT5 enabled PR: 232766 Submitted by: bengta@sics.se Changes: head/graphics/osg/Makefile