Don't force filemon for makeman/showconfig

Reported by:	lidl
This commit is contained in:
Bryan Drewery 2016-06-08 14:02:21 +00:00
parent e933649fb9
commit ef4ce15d06

View File

@ -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