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 A7424158086 for ; Sun, 7 Nov 2021 10:53:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CC3032BC116; Sun, 7 Nov 2021 10:53:16 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 2F7322BC116 for ; Sun, 7 Nov 2021 10:53:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 33732342DFC for ; Sun, 7 Nov 2021 10:53:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C45FB156 for ; Sun, 7 Nov 2021 10:53:13 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1636282378.647847ced7d1de713383802b963c74b45a17b577.grobian@gentoo> Subject: [gentoo-commits] proj/portage-utils:master commit in: / X-VCS-Repository: proj/portage-utils X-VCS-Files: applets.h main.c X-VCS-Directories: / X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 647847ced7d1de713383802b963c74b45a17b577 X-VCS-Branch: master Date: Sun, 7 Nov 2021 10:53:13 +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: 6dedd00a-8102-4807-ba8b-62b5f10a25c0 X-Archives-Hash: 6ac70f0d303f7ed0723d0de7a0c99c4e commit: 647847ced7d1de713383802b963c74b45a17b577 Author: Fabian Groffen gentoo org> AuthorDate: Sun Nov 7 10:52:58 2021 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Sun Nov 7 10:52:58 2021 +0000 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=647847ce main: parse/populate USE var Signed-off-by: Fabian Groffen gentoo.org> applets.h | 1 + main.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/applets.h b/applets.h index 8918ff0..be5aad6 100644 --- a/applets.h +++ b/applets.h @@ -171,6 +171,7 @@ extern char *binhost; extern char *pkgdir; extern char *port_tmpdir; extern char *features; +extern char *ev_use; extern char *install_mask; extern DEFINE_ARRAY(overlays); extern DEFINE_ARRAY(overlay_names); diff --git a/main.c b/main.c index 01b2542..6a79eef 100644 --- a/main.c +++ b/main.c @@ -42,6 +42,7 @@ char *binhost; char *pkgdir; char *port_tmpdir; char *features; +char *ev_use; char *install_mask; DECLARE_ARRAY(overlays); DECLARE_ARRAY(overlay_names); @@ -625,6 +626,7 @@ env_vars vars_to_read[] = { _Q_EVS(ISTR, CONFIG_PROTECT_MASK, config_protect_mask, "") _Q_EVB(BOOL, NOCOLOR, nocolor, 0) _Q_EVS(ISTR, FEATURES, features, "") + _Q_EVS(ISTR, USE, ev_use, "") _Q_EVS(STR, EPREFIX, eprefix, CONFIG_EPREFIX) _Q_EVS(STR, EMERGE_LOG_DIR, portlogdir, CONFIG_EPREFIX "var/log") _Q_EVS(STR, PORTDIR, main_overlay, CONFIG_EPREFIX "var/db/repos/gentoo")