git: 18ef97888260 - main - sysutils/libsysstat: Deprecate in favor of qt6 variant

From: Jesper Schmitz Mouridsen <jsm_at_FreeBSD.org>
Date: Sun, 20 Sep 2026 10:58:33 UTC
The branch main has been updated by jsm:

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

commit 18ef97888260913091d7072e67275a60b22d66cf
Author:     Jesper Schmitz Mouridsen <jsm@FreeBSD.org>
AuthorDate: 2026-09-20 10:47:09 +0000
Commit:     Jesper Schmitz Mouridsen <jsm@FreeBSD.org>
CommitDate: 2026-09-20 10:57:22 +0000

    sysutils/libsysstat: Deprecate in favor of qt6 variant
    
    While here fix build with cmake4, in case it lands before expiration.
    
    PR:     298616
---
 sysutils/libsysstat/Makefile                   | 4 ++++
 sysutils/libsysstat/files/patch-CMakeLists.txt | 8 +++++++-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/sysutils/libsysstat/Makefile b/sysutils/libsysstat/Makefile
index 618a4bb1a502..fb114983d73e 100644
--- a/sysutils/libsysstat/Makefile
+++ b/sysutils/libsysstat/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	libsysstat
 PORTVERSION=	0.4.6
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	LXQT/${PORTNAME}
 
@@ -10,6 +11,9 @@ WWW=		https://lxqt-project.org
 LICENSE=	LGPL21+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+DEPRECATED=	Uses qt5 switch to qt6 variant sysutils/libsysstat-qt6
+EXPIRATION_DATE=2026-11-30
+
 USES=		cmake compiler:c++17-lang lxqt:1 pkgconfig tar:xz qt:5
 USE_QT=		qmake:build buildtools:build core
 USE_LXQT=	buildtools
diff --git a/sysutils/libsysstat/files/patch-CMakeLists.txt b/sysutils/libsysstat/files/patch-CMakeLists.txt
index d621bc554ed1..cd8b188b8f7a 100644
--- a/sysutils/libsysstat/files/patch-CMakeLists.txt
+++ b/sysutils/libsysstat/files/patch-CMakeLists.txt
@@ -1,6 +1,12 @@
 --- CMakeLists.txt.orig	2021-11-05 10:06:40 UTC
 +++ CMakeLists.txt
-@@ -27,7 +27,15 @@ include(LXQtPreventInSourceBuilds)
+@@ -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)
+@@ -27,7 +27,15 @@ include(LXQtCompilerSettings NO_POLICY_SCOPE)
  include(LXQtCreatePkgConfigFile)
  include(LXQtCreatePortableHeaders)
  include(LXQtCompilerSettings NO_POLICY_SCOPE)