summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdriaan de Groot <adridg@FreeBSD.org>2025-07-01 13:41:15 +0200
committerAdriaan de Groot <adridg@FreeBSD.org>2025-07-01 13:59:49 +0200
commit88d34f0f06aa7b9d9d39a1795043dfcbe2ca4ce6 (patch)
treecd4808f03961cf657e0521d388cb67cb0305c33d
parentaudio/praat: update version and fix run-depends (diff)
devel/cutelee: don't look for Qt5 at all
If Qt5 is installed on the system (at all, so it finds Qt5Core) then this assumes that Qt5 qmake is also installed; this can trigger build failures. Since we don't want to build for Qt5 anyway, just switch that machinery off.
-rw-r--r--devel/cutelee/Makefile1
-rw-r--r--devel/cutelee/files/patch-CMakeLists.txt13
2 files changed, 14 insertions, 0 deletions
diff --git a/devel/cutelee/Makefile b/devel/cutelee/Makefile
index 28d422e6c5e5..2676d15a1b10 100644
--- a/devel/cutelee/Makefile
+++ b/devel/cutelee/Makefile
@@ -1,6 +1,7 @@
PORTNAME= cutelee
DISTVERSIONPREFIX= v
DISTVERSION= 6.1.0
+PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= adridg@FreeBSD.org
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 )