git: 0d0ac82ad68c - main - net/nfstrace: Fix build with CMake 4

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Mon, 21 Sep 2026 19:55:53 UTC
The branch main has been updated by ehaupt:

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

commit 0d0ac82ad68cd036e8fc3f22a1f5c9eea2f79570
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2026-09-21 19:55:14 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2026-09-21 19:55:51 +0000

    net/nfstrace: Fix build with CMake 4
    
    CMake 4 no longer supports policy compatibility with versions older
    than 3.5. Raise the minimum required CMake version accordingly.
    
    PR:             298743
---
 net/nfstrace/Makefile                   | 2 +-
 net/nfstrace/files/patch-CMakeLists.txt | 8 ++++++++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/net/nfstrace/Makefile b/net/nfstrace/Makefile
index 4682d02e7ce3..0286afa3d1d4 100644
--- a/net/nfstrace/Makefile
+++ b/net/nfstrace/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	nfstrace
 DISTVERSION=	0.4.3.2
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	net
 
 MAINTAINER=	ehaupt@FreeBSD.org
diff --git a/net/nfstrace/files/patch-CMakeLists.txt b/net/nfstrace/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..1e7a94cb2af2
--- /dev/null
+++ b/net/nfstrace/files/patch-CMakeLists.txt
@@ -0,0 +1,8 @@
+--- CMakeLists.txt.orig	2017-01-31 21:48:12 UTC
++++ CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 2.8.12)
++cmake_minimum_required (VERSION 3.5)
+ project (nfstrace)
+ 
+ # check compiler and packages ==================================================