From 8c294f5389eed09d37676c885e5a21e70f7aa6b8 Mon Sep 17 00:00:00 2001 From: Gleb Popov Date: Sat, 5 Jul 2025 07:58:58 +0300 Subject: devel/kf6-extra-cmake-modules: Prepare for the native inotify impl Differential Revision: https://reviews.freebsd.org/D50736 --- devel/kf6-extra-cmake-modules/files/extrapatch-inotify | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 devel/kf6-extra-cmake-modules/files/extrapatch-inotify (limited to 'devel/kf6-extra-cmake-modules/files/extrapatch-inotify') diff --git a/devel/kf6-extra-cmake-modules/files/extrapatch-inotify b/devel/kf6-extra-cmake-modules/files/extrapatch-inotify new file mode 100644 index 000000000000..80d16c075e6f --- /dev/null +++ b/devel/kf6-extra-cmake-modules/files/extrapatch-inotify @@ -0,0 +1,11 @@ +--- 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 "") -- cgit v1.2.3