summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig>2007-03-16 09:53:37 +0000
committerrillig <rillig>2007-03-16 09:53:37 +0000
commit05b609c84d2c9a41a851a04c2682a2318a9ae3a5 (patch)
treed2ff541d24ebd0f1c8fae03c336e855096876283 /mk
parent0d6ab80707378d424c28a82ba520510bd8b71184 (diff)
downloadpkgsrc-05b609c84d2c9a41a851a04c2682a2318a9ae3a5.tar.gz
Don't evaluate variables unless there's reason to do. This fixes warning
messages like: cd ${WRKOBJDIR}/x11/kdebase3/work/kdebase-3.5.6 && echo "__dummy-ent ... cd: can't cd to ${WRKOBJDIR}/x11/kdelibs3/work/kdelibs-3.5.6
Diffstat (limited to 'mk')
-rw-r--r--mk/misc/show.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/misc/show.mk b/mk/misc/show.mk
index 5ce24c8fb2f..9afe9be44de 100644
--- a/mk/misc/show.mk
+++ b/mk/misc/show.mk
@@ -1,4 +1,4 @@
-# $NetBSD: show.mk,v 1.2 2007/03/15 22:54:24 rillig Exp $
+# $NetBSD: show.mk,v 1.3 2007/03/16 09:53:37 rillig Exp $
#
# This file contains some targets that print information gathered from
# variables. They do not modify any variables.
@@ -79,6 +79,7 @@ _LETTER._USER_VARS= U
_LETTER._PKG_VARS= P
_LETTER._SYS_VARS= S
+.if make(show-all)
show-all: .PHONY
.for g in ${_VARGROUPS:O:u}
@@ -101,3 +102,4 @@ show-all-${g}: .PHONY
. endfor
@echo ""
.endfor
+.endif