git: baf2dc6476a9 - main - Set UPDATE_DEPDFILE=NO for showconfig

From: Simon J. Gerraty <sjg_at_FreeBSD.org>
Date: Sun, 23 Apr 2023 20:44:56 UTC
The branch main has been updated by sjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=baf2dc6476a9d4085fff737a4575bec8656cca32

commit baf2dc6476a9d4085fff737a4575bec8656cca32
Author:     Simon J. Gerraty <sjg@FreeBSD.org>
AuthorDate: 2023-04-23 20:43:45 +0000
Commit:     Simon J. Gerraty <sjg@FreeBSD.org>
CommitDate: 2023-04-23 20:43:45 +0000

    Set UPDATE_DEPDFILE=NO for showconfig
    
    Exporting UPDATE_DEPDFILE=NO from makeman didn't work,
    back to setting it in local.meta.sys.env.mk
---
 share/mk/local.meta.sys.env.mk | 5 +++++
 tools/build/options/makeman    | 2 --
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/share/mk/local.meta.sys.env.mk b/share/mk/local.meta.sys.env.mk
index 937b9c10bc3b..6b692d13fedf 100644
--- a/share/mk/local.meta.sys.env.mk
+++ b/share/mk/local.meta.sys.env.mk
@@ -88,3 +88,8 @@ META_MODE+=	missing-meta=yes
 .if empty(META_MODE:Mnofilemon)
 META_MODE+=	missing-filemon=yes
 .endif
+
+.if make(showconfig)
+# this does not need/want filemon
+UPDATE_DEPENDFILE= NO
+.endif
diff --git a/tools/build/options/makeman b/tools/build/options/makeman
index db0b75363a85..5a8b207b228a 100755
--- a/tools/build/options/makeman
+++ b/tools/build/options/makeman
@@ -20,8 +20,6 @@
 
 set -o errexit
 export LC_ALL=C
-# just be clear that we are not making anything
-export UPDATE_DEPENDFILE=no
 
 t=$(mktemp -d -t makeman)
 trap 'test -d $t && rm -rf $t' exit