Date: Fri, 9 Oct 2015 19:20:24 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r398953 - head/Mk Message-ID: <201510091920.t99JKO1Z074092@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bdrewery Date: Fri Oct 9 19:20:24 2015 New Revision: 398953 URL: https://svnweb.freebsd.org/changeset/ports/398953 Log: Don't include/parse bsd.options.desc.mk if not needed (showconfig or -V *_DESC). This is targetting dependency listing overhead. With hat: portmgr Modified: head/Mk/bsd.port.mk Modified: head/Mk/bsd.port.mk ============================================================================== --- head/Mk/bsd.port.mk Fri Oct 9 19:09:27 2015 (r398952) +++ head/Mk/bsd.port.mk Fri Oct 9 19:20:24 2015 (r398953) @@ -5293,7 +5293,7 @@ config-conditional: .endif .endif # config-conditional -.if !target(showconfig) +.if !target(showconfig) && (make(showconfig) || (!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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510091920.t99JKO1Z074092>