summaryrefslogtreecommitdiff
path: root/java/intellij-fsnotifier/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'java/intellij-fsnotifier/Makefile')
-rw-r--r--java/intellij-fsnotifier/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/java/intellij-fsnotifier/Makefile b/java/intellij-fsnotifier/Makefile
index f7c6f2e227b0..441f8dbdf053 100644
--- a/java/intellij-fsnotifier/Makefile
+++ b/java/intellij-fsnotifier/Makefile
@@ -24,4 +24,8 @@ CMAKE_ARGS+= -DVERSION=${PORTVERSION}
PLIST_SUB+= PORTVERSION=${PORTVERSION}
+.if exists(/usr/include/sys/inotify.h)
+EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-cmake_target__definitions.cmake
+.endif
+
.include <bsd.port.mk>