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
3 files changed, 18 insertions, 3 deletions
diff --git a/devel/kf6-extra-cmake-modules/Makefile b/devel/kf6-extra-cmake-modules/Makefile
index 87f142dca479..8891e048046b 100644
--- a/devel/kf6-extra-cmake-modules/Makefile
+++ b/devel/kf6-extra-cmake-modules/Makefile
@@ -40,4 +40,8 @@ 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 7c769690a1e9..3270f5d1ad3e 100644
--- a/devel/kf6-extra-cmake-modules/distinfo
+++ b/devel/kf6-extra-cmake-modules/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1746358549
-SHA256 (KDE/frameworks/6.14/extra-cmake-modules-6.14.0.tar.xz) = d02cbbb3269b39680884abf6f14ba68f448570c554173f5249da3b8761784c13
-SIZE (KDE/frameworks/6.14/extra-cmake-modules-6.14.0.tar.xz) = 328740
+TIMESTAMP = 1754127961
+SHA256 (KDE/frameworks/6.17/extra-cmake-modules-6.17.0.tar.xz) = dfecb17d0238f4de1dd3485b92a6606137d4a9c67b9e4ce40407fe0f2aec0a40
+SIZE (KDE/frameworks/6.17/extra-cmake-modules-6.17.0.tar.xz) = 329892
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 "")