Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Oct 2015 21:41:43 +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: r399154 - head/Mk
Message-ID:  <201510122141.t9CLfhng049736@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510122141.t9CLfhng049736>