summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2015-10-12 21:41:43 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2015-10-12 21:41:43 +0000
commit19f179cf3b1808ad338b4776943f5fda53f072d6 (patch)
tree35b0f5f778adc8ec53d153dc5864e8f2a1a05ec3 /Mk
parentReplace escaping for exported vars with :Q feature. (diff)
Re-apply r398953 with protection for 'make *config*'.
This will only include the descriptions file if needed to very slightly lower overhead with -V lookups and package building dependency calculations. With hat: portmgr
Notes
Notes: svn path=/head/; revision=399154
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 6154195076fd..74363b1af575 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -5294,7 +5294,7 @@ config-conditional:
.endif
.endif # config-conditional
-.if !target(showconfig)
+.if !target(showconfig) && (make(*config*) || (!empty(.MAKEFLAGS:M-V) && !empty(.MAKEFLAGS:M*_DESC)))
.include "${PORTSDIR}/Mk/bsd.options.desc.mk"
MULTI_EOL= : you have to choose at least one of them
SINGLE_EOL= : you have to select exactly one of them