git: b4e41e88370e - main - math/metis: unbreak with cmake-4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Sep 2026 13:55:45 UTC
The branch main has been updated by thierry:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b4e41e88370e0533c718953482cdf76483aa96bf
commit b4e41e88370e0533c718953482cdf76483aa96bf
Author: Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2026-09-21 12:25:04 +0000
Commit: Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2026-09-21 13:55:41 +0000
math/metis: unbreak with cmake-4
PR: 295319
Reported by: ngie
---
math/metis/Makefile | 3 ---
math/metis/files/patch-GKlib_CMakeLists.txt | 8 ++++++++
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/math/metis/Makefile b/math/metis/Makefile
index aa4f5fe8c235..997d222f1b46 100644
--- a/math/metis/Makefile
+++ b/math/metis/Makefile
@@ -12,9 +12,6 @@ WWW= https://bitbucket.org/petsc/pkg-metis
LICENSE= APACHE20
-DEPRECATED= Unmaintained, does not build with CMake 4
-EXPIRATION_DATE=2026-11-30
-
# Keep cmake:insource to be used by math/parmetis
USES= cmake:insource,noninja compiler:c11 tar:bzip2
diff --git a/math/metis/files/patch-GKlib_CMakeLists.txt b/math/metis/files/patch-GKlib_CMakeLists.txt
new file mode 100644
index 000000000000..91fb860d590f
--- /dev/null
+++ b/math/metis/files/patch-GKlib_CMakeLists.txt
@@ -0,0 +1,8 @@
+--- GKlib/CMakeLists.txt.orig 2025-03-31 19:34:42 UTC
++++ GKlib/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 2.8)
++cmake_minimum_required(VERSION 3.5)
+ project(GKlib)
+
+ get_filename_component(abs "." ABSOLUTE)