diff --git a/devel/cutelee/Makefile b/devel/cutelee/Makefile index 28d422e6c5e5..2676d15a1b10 100644 --- a/devel/cutelee/Makefile +++ b/devel/cutelee/Makefile @@ -1,20 +1,21 @@ PORTNAME= cutelee DISTVERSIONPREFIX= v DISTVERSION= 6.1.0 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= adridg@FreeBSD.org COMMENT= C++/Qt template framework with Django syntax WWW= https://github.com/cutelyst/cutelee LICENSE= LGPL21 USES= cmake compiler:c++20-lang qt:6 USE_CXXSTD= c++20 USE_GITHUB= yes USE_LDCONFIG= yes USE_QT= base tools:build GH_ACCOUNT= cutelyst .include diff --git a/devel/cutelee/files/patch-CMakeLists.txt b/devel/cutelee/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..184f9de2ebef --- /dev/null +++ b/devel/cutelee/files/patch-CMakeLists.txt @@ -0,0 +1,13 @@ +--- CMakeLists.txt.orig 2022-11-14 15:03:45 UTC ++++ CMakeLists.txt +@@ -13,8 +13,8 @@ include(GNUInstallDirs) + + include(GNUInstallDirs) + +-find_package(QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED) +-find_package(Qt${QT_VERSION_MAJOR} 5.6.0 COMPONENTS Core REQUIRED) ++find_package(QT NAMES Qt6 COMPONENTS Core REQUIRED) ++find_package(Qt${QT_VERSION_MAJOR} 6.0 COMPONENTS Core REQUIRED) + + option(BUILD_SHARED_LIBS "Build in shared lib mode" ON) + option( BUILD_TEMPLATES "Build the Cutelee template library" TRUE )