From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9444F138334 for ; Fri, 17 Aug 2018 04:55:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 37755E08B1; Fri, 17 Aug 2018 04:55:40 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0CD0DE08B1 for ; Fri, 17 Aug 2018 04:55:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 12810335D96 for ; Fri, 17 Aug 2018 04:55:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 618E939E for ; Fri, 17 Aug 2018 04:55:36 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1534079394.1643f4a687d0fe4760c99b6baf18649f314b690d.ulm@gentoo> Subject: [gentoo-commits] proj/pms:master commit in: / X-VCS-Repository: proj/pms X-VCS-Files: pkg-mgr-commands.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 1643f4a687d0fe4760c99b6baf18649f314b690d X-VCS-Branch: master Date: Fri, 17 Aug 2018 04:55:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 27bc4d60-0e02-49c8-aede-70e4a4d26adc X-Archives-Hash: 6d6e553475303651d8d33d7a1c771960 commit: 1643f4a687d0fe4760c99b6baf18649f314b690d Author: Ulrich Müller gentoo org> AuthorDate: Sun Aug 12 13:09:54 2018 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sun Aug 12 13:09:54 2018 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=1643f4a6 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".) pkg-mgr-commands.tex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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