summaryrefslogtreecommitdiff
path: root/share/mk/bsd.init.mk
diff options
context:
space:
mode:
Diffstat (limited to 'share/mk/bsd.init.mk')
-rw-r--r--share/mk/bsd.init.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/bsd.init.mk b/share/mk/bsd.init.mk
index 25ab7625ec65..b7a45d9ac43a 100644
--- a/share/mk/bsd.init.mk
+++ b/share/mk/bsd.init.mk
@@ -31,7 +31,7 @@ _SKIP_BUILD = not building at level 0
.if ${MK_META_MODE} == "yes"
.if !exists(/dev/filemon) && \
${UPDATE_DEPENDFILE:Uyes:tl} != "no" && !defined(NO_FILEMON) && \
- !make(showconfig) && ${.MAKEFLAGS:M-V} == ""
+ !make(showconfig) && !make(print-dir) && ${.MAKEFLAGS:M-V} == ""
.warning The filemon module (/dev/filemon) is not loaded.
.warning META_MODE is less useful for incremental builds without filemon.
.warning 'kldload filemon' or pass -DNO_FILEMON to suppress this warning.