From ef4ce15d06f967b13a09290ff631ac446d84ea87 Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Wed, 8 Jun 2016 14:02:21 +0000 Subject: [PATCH] Don't force filemon for makeman/showconfig Reported by: lidl --- share/mk/sys.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/share/mk/sys.mk b/share/mk/sys.mk index 4a174f86f1bf..d52ba21e6890 100644 --- a/share/mk/sys.mk +++ b/share/mk/sys.mk @@ -55,7 +55,8 @@ META_MODE+= missing-meta=yes META_MODE+= silent=yes .endif .if !exists(/dev/filemon) -.if ${UPDATE_DEPENDFILE:Uyes:tl} != "no" && !defined(NO_FILEMON) +.if ${UPDATE_DEPENDFILE:Uyes:tl} != "no" && !defined(NO_FILEMON) && \ + !make(showconfig) .error ${.newline}ERROR: The filemon module (/dev/filemon) is not loaded. .endif META_MODE+= nofilemon