git: 25237138341d - main - devel/zeal: Unbreak build with Qt 6
Date: Mon, 15 Jul 2024 07:10:34 UTC
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=25237138341dc07b467664d4a83306338fc13ec0 commit 25237138341dc07b467664d4a83306338fc13ec0 Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2024-07-15 07:00:21 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2024-07-15 07:10:28 +0000 devel/zeal: Unbreak build with Qt 6 The port still fails at the moment because it picks Qt 5, but this will be fixed once we switch to kf6-extra-cmake-modules PR: 280070 --- devel/zeal/Makefile | 2 +- devel/zeal/files/patch-src_app_CMakeLists.txt | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/devel/zeal/Makefile b/devel/zeal/Makefile index 06a890d5fb61..7a2456a7a6e9 100644 --- a/devel/zeal/Makefile +++ b/devel/zeal/Makefile @@ -23,7 +23,7 @@ USE_GITHUB= yes GH_ACCOUNT= zealdocs USE_GL= opengl USE_KDE= ecm -USE_QT= base declarative positioning webchannel webengine +USE_QT= base declarative positioning webchannel webengine tools:build USE_XORG= ice sm x11 xcb xext .include <bsd.port.mk> diff --git a/devel/zeal/files/patch-src_app_CMakeLists.txt b/devel/zeal/files/patch-src_app_CMakeLists.txt new file mode 100644 index 000000000000..0d4057fb3f7e --- /dev/null +++ b/devel/zeal/files/patch-src_app_CMakeLists.txt @@ -0,0 +1,8 @@ +--- src/app/CMakeLists.txt.orig 2023-09-20 05:24:18 UTC ++++ src/app/CMakeLists.txt +@@ -1,4 +1,4 @@ +-find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets REQUIRED) ++find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Concurrent Network WebChannel WebEngineWidgets Widgets REQUIRED) + if (Qt${QT_VERSION_MAJOR}Widgets_VERSION VERSION_LESS QT_MINIMUM_VERSION) + message(FATAL_ERROR "Qt version >= ${QT_MINIMUM_VERSION} is required.") + endif()