svn commit: r399154 - head/Mk
Bryan Drewery
bdrewery at FreeBSD.org
Mon Oct 12 21:41:45 UTC 2015
Author: bdrewery
Date: Mon Oct 12 21:41:43 2015
New Revision: 399154
URL: https://svnweb.freebsd.org/changeset/ports/399154
Log:
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
Modified:
head/Mk/bsd.port.mk
Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk Mon Oct 12 21:38:28 2015 (r399153)
+++ head/Mk/bsd.port.mk Mon Oct 12 21:41:43 2015 (r399154)
@@ -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
More information about the svn-ports-all
mailing list