diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2015-10-10 03:20:24 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2015-10-10 03:20:24 +0800 |
commit | c11c748a07fbdfde2bd0bce8e0614d1e8440cca5 (patch) | |
tree | 7e0d4882aaa62f6d03b2087fff353d8b20d23c1b /Mk | |
parent | e091663287fba2530cb4cd380aa5abefdadfbb9f (diff) | |
download | freebsd-ports-gnome-c11c748a07fbdfde2bd0bce8e0614d1e8440cca5.tar.gz freebsd-ports-gnome-c11c748a07fbdfde2bd0bce8e0614d1e8440cca5.tar.zst freebsd-ports-gnome-c11c748a07fbdfde2bd0bce8e0614d1e8440cca5.zip |
Don't include/parse bsd.options.desc.mk if not needed (showconfig or -V *_DESC).
This is targetting dependency listing overhead.
With hat: portmgr
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index cf390402f56f..70a1ac0eb26f 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -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 |