summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/cmake-core/Makefile4
-rw-r--r--devel/cmake-core/distinfo4
-rw-r--r--devel/cmake-core/files/patch-Modules_FindBoost.cmake9
3 files changed, 16 insertions, 1 deletions
diff --git a/devel/cmake-core/Makefile b/devel/cmake-core/Makefile
index f6dead9a0794..533042192c3b 100644
--- a/devel/cmake-core/Makefile
+++ b/devel/cmake-core/Makefile
@@ -1,8 +1,12 @@
PORTNAME= cmake
DISTVERSION= ${_CMAKE_VERSION}
+PORTREVISION= 1
CATEGORIES= devel
PKGNAMESUFFIX= -core
+PATCH_SITES+= https://github.com/Kitware/CMake/commit/
+PATCHFILES+= 2bb8c6aec74bb658b9ef7b8b3c8db75f2fb6c2b5.diff:-p1
+
MAINTAINER= kde@FreeBSD.org
COMMENT= Cross-platform Makefile generator
WWW= https://www.cmake.org/
diff --git a/devel/cmake-core/distinfo b/devel/cmake-core/distinfo
index 38d638c4dcd0..e549f05c67f0 100644
--- a/devel/cmake-core/distinfo
+++ b/devel/cmake-core/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1746076226
+TIMESTAMP = 1753273999
SHA256 (cmake-3.31.7.tar.gz) = a6d2eb1ebeb99130dfe63ef5a340c3fdb11431cce3d7ca148524c125924cea68
SIZE (cmake-3.31.7.tar.gz) = 11711975
+SHA256 (2bb8c6aec74bb658b9ef7b8b3c8db75f2fb6c2b5.diff) = 7c9b2bbb3c95aff4649c884ba31114ac0a177d512ef6a0684e30ff275383a676
+SIZE (2bb8c6aec74bb658b9ef7b8b3c8db75f2fb6c2b5.diff) = 2912
diff --git a/devel/cmake-core/files/patch-Modules_FindBoost.cmake b/devel/cmake-core/files/patch-Modules_FindBoost.cmake
index ffff3ae66b4c..548cc7f4268b 100644
--- a/devel/cmake-core/files/patch-Modules_FindBoost.cmake
+++ b/devel/cmake-core/files/patch-Modules_FindBoost.cmake
@@ -20,6 +20,15 @@
#-------------------------------------------------------------------------------
# Before we go searching, check whether a boost cmake package is available, unless
# the user specifically asked NOT to search for one.
+@@ -2170,7 +2177,7 @@ if(Boost_VERSION_STRING AND Boost_FIND_COMPONENTS)
+ # On versions < 1.35, remove the System library from the considered list
+ # since it wasn't added until 1.35.
+ if(Boost_VERSION_STRING AND Boost_FIND_COMPONENTS)
+- if(Boost_VERSION_STRING VERSION_LESS 1.35.0)
++ if(Boost_VERSION_STRING VERSION_LESS 1.35.0 OR Boost_VERSION_STRING VERSION_GREATER_EQUAL 1.71.0)
+ list(REMOVE_ITEM Boost_FIND_COMPONENTS system)
+ endif()
+ endif()
@@ -2196,10 +2202,10 @@ foreach(COMPONENT ${Boost_FIND_COMPONENTS})
# Handle Python version suffixes
unset(COMPONENT_PYTHON_VERSION_MAJOR)