git: 56c508d97ff3 - main - devel/libtap: Fix build with CMake 4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 20 Sep 2026 20:58:04 UTC
The branch main has been updated by rodrigo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=56c508d97ff32981bd730bb351b34362f8f995c2
commit 56c508d97ff32981bd730bb351b34362f8f995c2
Author: Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2026-09-20 20:51:27 +0000
Commit: Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2026-09-20 20:55:53 +0000
devel/libtap: Fix build with CMake 4
Update cmake_minimum_required to 3.10
PR: 298617
Reported by: arrowd
---
devel/libtap/Makefile | 2 +-
devel/libtap/files/patch-CMakeLists.txt | 11 +++++++++++
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/devel/libtap/Makefile b/devel/libtap/Makefile
index 61080dd692a7..3b2daa47c1c1 100644
--- a/devel/libtap/Makefile
+++ b/devel/libtap/Makefile
@@ -1,6 +1,6 @@
PORTNAME= libtap
PORTVERSION= 1.12.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= https://web-cpan.shlomifish.org/downloads/
diff --git a/devel/libtap/files/patch-CMakeLists.txt b/devel/libtap/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..870727b1ac4f
--- /dev/null
+++ b/devel/libtap/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig 2026-09-19 20:27:31.463582000 +0000
++++ CMakeLists.txt 2026-09-19 20:27:52.350739000 +0000
+@@ -25,7 +25,7 @@
+ ENDFOREACH (file_to_copy)
+ ENDFUNCTION (LIBTAP_TEST_TARGET target)
+
+-cmake_minimum_required(VERSION 2.8)
++cmake_minimum_required(VERSION 3.10)
+
+ INCLUDE(InstallRequiredSystemLibraries)
+