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
This commit is contained in:
Bryan Drewery 2015-10-12 21:41:43 +00:00
parent 1289b5e043
commit 19f179cf3b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=399154

View file

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