summaryrefslogtreecommitdiff
path: root/devel/kf6-extra-cmake-modules
diff options
context:
space:
mode:
Diffstat (limited to 'devel/kf6-extra-cmake-modules')
-rw-r--r--devel/kf6-extra-cmake-modules/Makefile4
-rw-r--r--devel/kf6-extra-cmake-modules/distinfo6
-rw-r--r--devel/kf6-extra-cmake-modules/files/extrapatch-inotify11
-rw-r--r--devel/kf6-extra-cmake-modules/files/patch-find-modules_FindInotify.cmake11
4 files changed, 14 insertions, 18 deletions
diff --git a/devel/kf6-extra-cmake-modules/Makefile b/devel/kf6-extra-cmake-modules/Makefile
index 0cc41de25a75..5fda3d8dcb24 100644
--- a/devel/kf6-extra-cmake-modules/Makefile
+++ b/devel/kf6-extra-cmake-modules/Makefile
@@ -41,8 +41,4 @@ MANPAGES_CMAKE_BOOL= BUILD_MAN_DOCS
TESTING_UNSAFE= requires reuse-tool port
-.if exists(/usr/include/sys/inotify.h)
-EXTRA_PATCHES+= ${FILESDIR}/extrapatch-inotify
-.endif
-
.include <bsd.port.mk>
diff --git a/devel/kf6-extra-cmake-modules/distinfo b/devel/kf6-extra-cmake-modules/distinfo
index 33001efd483b..5ad092766026 100644
--- a/devel/kf6-extra-cmake-modules/distinfo
+++ b/devel/kf6-extra-cmake-modules/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1762892863
-SHA256 (KDE/frameworks/6.20/extra-cmake-modules-6.20.0.tar.xz) = 3711de8572db5da618efe3f28cc094ca25a1abb0bddffc63dced12c4f8caae5f
-SIZE (KDE/frameworks/6.20/extra-cmake-modules-6.20.0.tar.xz) = 334164
+TIMESTAMP = 1765456421
+SHA256 (KDE/frameworks/6.21/extra-cmake-modules-6.21.0.tar.xz) = 267c5467cd6555a0af0d4010f0ec06971f80f1bd5c90563424a8593bc0976a70
+SIZE (KDE/frameworks/6.21/extra-cmake-modules-6.21.0.tar.xz) = 334524
diff --git a/devel/kf6-extra-cmake-modules/files/extrapatch-inotify b/devel/kf6-extra-cmake-modules/files/extrapatch-inotify
deleted file mode 100644
index 80d16c075e6f..000000000000
--- a/devel/kf6-extra-cmake-modules/files/extrapatch-inotify
+++ /dev/null
@@ -1,11 +0,0 @@
---- find-modules/FindInotify.cmake.orig 2025-06-13 09:31:41 UTC
-+++ find-modules/FindInotify.cmake
-@@ -33,7 +33,7 @@ if(Inotify_INCLUDE_DIRS)
- if(Inotify_INCLUDE_DIRS)
- # On Linux and SunOS, there is no library to link against, on the BSDs there is.
- # On the BSD's, inotify is implemented through a library, libinotify.
-- if(CMAKE_SYSTEM_NAME MATCHES "Linux" OR CMAKE_SYSTEM_NAME MATCHES "SunOS")
-+ if(CMAKE_SYSTEM_NAME MATCHES "Linux" OR CMAKE_SYSTEM_NAME MATCHES "SunOS" OR CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
- set(Inotify_FOUND TRUE)
- set(Inotify_LIBRARIES "")
- set(Inotify_INCLUDE_DIRS "")
diff --git a/devel/kf6-extra-cmake-modules/files/patch-find-modules_FindInotify.cmake b/devel/kf6-extra-cmake-modules/files/patch-find-modules_FindInotify.cmake
new file mode 100644
index 000000000000..5534cd6833b5
--- /dev/null
+++ b/devel/kf6-extra-cmake-modules/files/patch-find-modules_FindInotify.cmake
@@ -0,0 +1,11 @@
+--- find-modules/FindInotify.cmake.orig 2025-12-05 13:18:18 UTC
++++ find-modules/FindInotify.cmake
+@@ -56,7 +56,7 @@ if(Inotify_INCLUDE_DIRS)
+ cmake_path(GET Inotify_INCLUDE_DIRS PARENT_PATH includes_prefix)
+ cmake_path(GET Inotify_LIBRARIES PARENT_PATH lib_prefix)
+ cmake_path(GET lib_prefix PARENT_PATH lib_prefix)
+- cmake_path(COMPARE includes_prefix EQUAL lib_prefix prefixes_match)
++ cmake_path(COMPARE ${includes_prefix} EQUAL ${lib_prefix} prefixes_match)
+
+ if(NOT prefixes_match)
+ set(Inotify_FOUND TRUE)