diff options
-rw-r--r-- | share/mk/sys.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/share/mk/sys.mk b/share/mk/sys.mk index 7d7cc62..bea1c71 100644 --- a/share/mk/sys.mk +++ b/share/mk/sys.mk @@ -52,6 +52,9 @@ META_MODE+= meta verbose META_MODE+= silent=yes .endif .if !exists(/dev/filemon) +.if ${UPDATE_DEPENDFILE:Uyes:tl} != "no" && !defined(NO_FILEMON) +.error ${.newline}ERROR: The filemon module (/dev/filemon) is not loaded. +.endif META_MODE+= nofilemon .endif .endif |