aboutsummaryrefslogtreecommitdiff
path: root/devel/cmake-core
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cmake-core')
-rw-r--r--devel/cmake-core/Makefile3
-rw-r--r--devel/cmake-core/distinfo8
-rw-r--r--devel/cmake-core/files/patch-Modules_FindBoost.cmake9
-rw-r--r--devel/cmake-core/pkg-plist1
4 files changed, 18 insertions, 3 deletions
diff --git a/devel/cmake-core/Makefile b/devel/cmake-core/Makefile
index f6dead9a0794..d448bcb43277 100644
--- a/devel/cmake-core/Makefile
+++ b/devel/cmake-core/Makefile
@@ -3,6 +3,9 @@ DISTVERSION= ${_CMAKE_VERSION}
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..97a0a4b9e350 100644
--- a/devel/cmake-core/distinfo
+++ b/devel/cmake-core/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1746076226
-SHA256 (cmake-3.31.7.tar.gz) = a6d2eb1ebeb99130dfe63ef5a340c3fdb11431cce3d7ca148524c125924cea68
-SIZE (cmake-3.31.7.tar.gz) = 11711975
+TIMESTAMP = 1759124900
+SHA256 (cmake-3.31.9.tar.gz) = 5d4fdec04247ca8a8e8f63692f0d0f1e9d6d082a2bdd008dff8ab3ba7215aa83
+SIZE (cmake-3.31.9.tar.gz) = 11714375
+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)
diff --git a/devel/cmake-core/pkg-plist b/devel/cmake-core/pkg-plist
index 3da13fe26cf2..93d10621d1f9 100644
--- a/devel/cmake-core/pkg-plist
+++ b/devel/cmake-core/pkg-plist
@@ -2443,6 +2443,7 @@ share/bash-completion/completions/ctest
%%DATADIR%%/Modules/Compiler/GNU-C-DetermineCompiler.cmake
%%DATADIR%%/Modules/Compiler/GNU-C-FeatureTests.cmake
%%DATADIR%%/Modules/Compiler/GNU-C.cmake
+%%DATADIR%%/Modules/Compiler/GNU-CXX-CXXImportStd.cmake
%%DATADIR%%/Modules/Compiler/GNU-CXX-DetermineCompiler.cmake
%%DATADIR%%/Modules/Compiler/GNU-CXX-FeatureTests.cmake
%%DATADIR%%/Modules/Compiler/GNU-CXX.cmake