git: 623d37a24eee - main - biology/gcta: Unbreak build with cmake 4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 14 Sep 2026 13:42:56 UTC
The branch main has been updated by jwb:
URL: https://cgit.FreeBSD.org/ports/commit/?id=623d37a24eee66130508c751c45428f1f10b98d6
commit 623d37a24eee66130508c751c45428f1f10b98d6
Author: Jason W. Bacon <jwb@FreeBSD.org>
AuthorDate: 2026-09-14 13:39:33 +0000
Commit: Jason W. Bacon <jwb@FreeBSD.org>
CommitDate: 2026-09-14 13:42:54 +0000
biology/gcta: Unbreak build with cmake 4
Minor patch changing CMAKE_MINIMUM_REQUIRED
PR: 298183
Reported by: arrowd
---
biology/gcta/Makefile | 2 +-
biology/gcta/files/patch-CMakeLists.txt | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/biology/gcta/Makefile b/biology/gcta/Makefile
index b6ef44ad30db..a381623be80e 100644
--- a/biology/gcta/Makefile
+++ b/biology/gcta/Makefile
@@ -1,7 +1,7 @@
PORTNAME= gcta
DISTVERSIONPREFIX= v
DISTVERSION= 1.94.1
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= biology
MAINTAINER= jwb@FreeBSD.org
diff --git a/biology/gcta/files/patch-CMakeLists.txt b/biology/gcta/files/patch-CMakeLists.txt
index 886a9591c652..8063af48504b 100644
--- a/biology/gcta/files/patch-CMakeLists.txt
+++ b/biology/gcta/files/patch-CMakeLists.txt
@@ -1,6 +1,9 @@
--- CMakeLists.txt.orig 2022-08-03 06:01:52 UTC
+++ CMakeLists.txt
-@@ -3,7 +3,7 @@ SET(CMAKE_INCLUDE_CURRENT_DIR ON)
+@@ -1,9 +1,9 @@
+-CMAKE_MINIMUM_REQUIRED(VERSION 3.1)
++CMAKE_MINIMUM_REQUIRED(VERSION 3.5)
+ SET(CMAKE_EXPORT_COMPILE_COMMANDS ON)
SET(PROJECT_NAME_STR GCTA2)
PROJECT(${PROJECT_NAME_STR} C CXX)
SET(CMAKE_INCLUDE_CURRENT_DIR ON)