Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
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 07:54:18
Message-Id: 20220411085351.2e4915e9@digimed.co.uk
In Reply to: Re: [gentoo-user] How to only recompile git ebuild without fetching any sources? by Dex Conner
1 On Mon, 11 Apr 2022 08:39:39 +0300, Dex Conner wrote:
2
3 > > Setting EVCS_OFFLINE=1 should work. There's some documentation on
4 > > that variable here:
5 > > https://devmanual.gentoo.org/eclass-reference/git-r3.eclass/index.html
6 > >
7 > > -Marco
8 >
9 > Thank you! Is there maybe a way to set this with emerge / something
10 > else on a case by case basis without editing the ebuild each time?
11
12 You can set in on the command line:
13
14 EVCS_OFFLINE=1 emerge -1a somepackage
15
16 or you can set it, or any of portage's environment variables, on a per
17 package basis in /etc/portage/package.env:
18
19 https://wiki.gentoo.org/wiki//etc/portage/package.env
20
21
22 --
23 Neil Bothwick
24
25 To be sure of hitting the target, shoot first and call whatever you hit
26 the target.

Replies

Subject Author
Re: [gentoo-user] How to only recompile git ebuild without fetching any sources? Dex Conner <cantcuckthis@××××××××××.de>