diff options
author | Ulrich Müller <ulm@gentoo.org> | 2018-08-12 15:09:54 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2018-08-12 15:09:54 +0200 |
commit | 1643f4a687d0fe4760c99b6baf18649f314b690d (patch) | |
tree | f93ae736836c5f61468497eded37112fdf8dd623 | |
parent | pkg-mgr-commands.tex: dobin file ownership is not distro specific. (diff) | |
download | pms-1643f4a6.tar.gz pms-1643f4a6.tar.bz2 pms-1643f4a6.zip |
pkg-mgr-commands.tex: Allow inverted condition in use_with.
This allows calls like "use_with !foo bar" or "use_enable !foo bar"
which are supported by all three package managers and widely used in
the tree.
Explicitly forbid the "use_with !foo" one-argument form. It is not
used in the tree, and ebuilds can use the more explicit two-argument
form instead. (Current portage-2.3.46 outputs "--with-!foo".)
-rw-r--r-- | pkg-mgr-commands.tex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex index f51e0f0..74c8983 100644 --- a/pkg-mgr-commands.tex +++ b/pkg-mgr-commands.tex @@ -846,7 +846,8 @@ table~\ref{tab:use-list-strictness}. an empty third argument is treated as if it weren't provided. If the USE flag is set, outputs \t{-{}-with-\$\{opt\}=\$\{value\}} if the third argument was provided, and \t{-{}-with-\$\{opt\}} otherwise. If the flag is not set, then it outputs - \t{-{}-without-\$\{opt\}}. + \t{-{}-without-\$\{opt\}}. The condition is inverted if the flag name is prefixed with~\t{!}; + this is valid only for the two- and three-argument forms. \item[use_enable] Works the same as \t{use_with()}, but outputs \t{-{}-enable-} or \t{-{}-disable-} instead of \t{-{}-with-} or \t{-{}-without-}. \item[usex] \featurelabel{usex} Accepts at least one and at most five arguments. The first argument |