Gentoo Archives: gentoo-user

From: Dex Conner <cantcuckthis@××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to only recompile git ebuild without fetching any sources?
Date: Mon, 11 Apr 2022 08:49:32
Message-Id: 20220411084913.jxu3umfn55koph42@localhost
In Reply to: Re: [gentoo-user] How to only recompile git ebuild without fetching any sources? by Neil Bothwick
1 On 22/04/11 08:53AM, Neil Bothwick wrote:
2 > On Mon, 11 Apr 2022 08:39:39 +0300, Dex Conner wrote:
3 >
4 > > > Setting EVCS_OFFLINE=1 should work. There's some documentation on
5 > > > that variable here:
6 > > > https://devmanual.gentoo.org/eclass-reference/git-r3.eclass/index.html
7 > > >
8 > > > -Marco
9 > >
10 > > Thank you! Is there maybe a way to set this with emerge / something
11 > > else on a case by case basis without editing the ebuild each time?
12 >
13 > You can set in on the command line:
14 >
15 > EVCS_OFFLINE=1 emerge -1a somepackage
16 >
17 > or you can set it, or any of portage's environment variables, on a per
18 > package basis in /etc/portage/package.env:
19 >
20 > https://wiki.gentoo.org/wiki//etc/portage/package.env
21 >
22 >
23 > --
24 > Neil Bothwick
25 >
26 > To be sure of hitting the target, shoot first and call whatever you hit
27 > the target.
28
29 For some reason I thought ebuild variables were not environment variables.
30 Thank you!!

Attachments

File name MIME type
signature.asc application/pgp-signature