git: aa35b3ed646e - main - x11/libfm-qt: Fix cmake4 update issue

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Sun, 20 Sep 2026 21:53:18 UTC
The branch main has been updated by acm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=aa35b3ed646ec3e96299e4a28ea9407a17a5c718

commit aa35b3ed646ec3e96299e4a28ea9407a17a5c718
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2026-09-20 21:49:23 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2026-09-20 21:49:23 +0000

    x11/libfm-qt: Fix cmake4 update issue
    
    - Mark DEPRECATED ans set EXPIRATION_DATE
    - Bump PORTREVISION
    
    Wit hat:        lxqt
    PR:             298451
    Reported by:    arrowd
---
 x11/libfm-qt/Makefile                   | 4 ++++
 x11/libfm-qt/files/patch-CMakeLists.txt | 8 ++++++++
 2 files changed, 12 insertions(+)

diff --git a/x11/libfm-qt/Makefile b/x11/libfm-qt/Makefile
index 19c93a7e33bd..21d7d084683b 100644
--- a/x11/libfm-qt/Makefile
+++ b/x11/libfm-qt/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	libfm-qt
 PORTVERSION=	1.4.0
+PORTREVISION=	1
 CATEGORIES=	x11
 MASTER_SITES=	LXQT
 
@@ -10,6 +11,9 @@ WWW=		https://github.com/lxqt/libfm-qt
 LICENSE=	LGPL21+
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Uses qt5 switch to qt6 variant x11/libfm-qt6
+EXPIRATION_DATE=2026-11-20
+
 LIB_DEPENDS=	libmenu-cache.so:x11/menu-cache \
 		libexif.so:graphics/libexif
 BUILD_DEPENDS=	lxqt-menu-data>=1.4.1:x11/lxqt-menu-data
diff --git a/x11/libfm-qt/files/patch-CMakeLists.txt b/x11/libfm-qt/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..5582864516ad
--- /dev/null
+++ b/x11/libfm-qt/files/patch-CMakeLists.txt
@@ -0,0 +1,8 @@
+--- CMakeLists.txt.orig	2023-11-05 11:14:27 UTC
++++ CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR)
++cmake_minimum_required(VERSION 3.5.0 FATAL_ERROR)
+ # CMP0000: Call the cmake_minimum_required() command at the beginning of the top-level
+ # CMakeLists.txt file even before calling the project() command.
+ # The cmake_minimum_required(VERSION) command implicitly invokes the cmake_policy(VERSION)