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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F3F4A15ACFB for ; Mon, 10 Apr 2023 06:33:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18F7EE081B; Mon, 10 Apr 2023 06:33:14 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 03774E081B for ; Mon, 10 Apr 2023 06:33:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 337A333C84E for ; Mon, 10 Apr 2023 06:33:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 899928C6 for ; Mon, 10 Apr 2023 06:33:11 +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: <1677495763.0e311ca4ac75be6ebea2a0b3c1b46f4daac75190.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: 0e311ca4ac75be6ebea2a0b3c1b46f4daac75190 X-VCS-Branch: master Date: Mon, 10 Apr 2023 06:33:11 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6c3420d7-f671-4ad7-a592-9b659f636f21 X-Archives-Hash: 0b05fa5f67faf5cd756c5d4e38423817 Message-ID: <20230410063311.onPTHI22J1-gsyIbtIXmAOvukYPnVvcL8hcs0eV7vos@z> commit: 0e311ca4ac75be6ebea2a0b3c1b46f4daac75190 Author: Ulrich Müller gentoo org> AuthorDate: Sun Feb 26 17:46:29 2023 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Mon Feb 27 11:02:43 2023 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=0e311ca4 pkg-mgr-commands.tex: econf matches configure --help output better Following the previous change for --disable-static (commit e0aa80c), check for proper end of string for all option names beginning with "with", "disable" or "enable". This will mainly affect --with-sysroot, where false positives have been observed. Bug: https://bugs.gentoo.org/815169 Suggested-by: David Seifert gentoo.org> Signed-off-by: Ulrich Müller gentoo.org> pkg-mgr-commands.tex | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex index 95caa0b..4fac077 100644 --- a/pkg-mgr-commands.tex +++ b/pkg-mgr-commands.tex @@ -343,10 +343,13 @@ commands once the current phase function has returned. occurs in the output of \t{configure -{}-help}. \item \t{-{}-disable-static}, if the EAPI is listed in table~\ref{tab:econf-options-table} as using it. This option will only be passed if both strings \t{-{}-enable-static} and - \t{-{}-enable-shared} occur in the output of \t{configure -{}-help}, and if neither of them - is immediately followed by any of the characters \t{[A-Za-z0-9+_.-]}. + \t{-{}-enable-shared} occur in the output of \t{configure -{}-help}. \end{itemize} + For the option names beginning with \t{with-}, \t{disable-} or \t{enable-}, a string in + \t{configure -{}-help} output matches only if it is not immediately followed by any of the + characters \t{[A-Za-z0-9+_.-]}. + \ChangeWhenAddingAnEAPI{8} \begin{centertable}{Extra \t{econf} arguments for EAPIs} \label{tab:econf-options-table}