Gentoo Archives: gentoo-pms

From: James Le Cuirot <chewi@g.o>
To: gentoo-pms@l.g.o
Subject: Re: [gentoo-pms] [PATCH] ebuild-env-vars.text: Allow SYSROOT & BROOT in pkg_setup
Date: Sun, 05 May 2019 13:04:29
Message-Id: 20190505140404.187ec498@symphony.aura-online.co.uk
In Reply to: [gentoo-pms] [PATCH] ebuild-env-vars.text: Allow SYSROOT & BROOT in pkg_setup by "Michał Górny"
1 On Sun, 5 May 2019 14:52:46 +0200
2 Michał Górny <mgorny@g.o> wrote:
3
4 > Allow using SYSROOT & BROOT in pkg_setup(). This follows the earlier
5 > change allowing for build-time dependencies in pkg_setup, whenever
6 > it is being run as part of source build.
7 > ---
8 > ebuild-env-vars.tex | 6 +++---
9 > 1 file changed, 3 insertions(+), 3 deletions(-)
10 >
11 > diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex
12 > index 56f959c..33d6cba 100644
13 > --- a/ebuild-env-vars.tex
14 > +++ b/ebuild-env-vars.tex
15 > @@ -132,19 +132,19 @@ variable.
16 > table~\ref{tab:offset-env-vars-table} as supporting \t{EROOT}\@. The presence of a trailing
17 > slash is EAPI dependent as listed in table~\ref{tab:trailing-slash}. \\
18 > \t{SYSROOT} &
19 > - \t{src_*} &
20 > + \t{pkg_setup}, \t{src_*} &
21 > No &
22 > \featurelabel{sysroot} The absolute path to the root directory containing build dependencies
23 > satisfied by \t{DEPEND}\@. Only for EAPIs listed in table~\ref{tab:added-env-vars-table}
24 > as supporting \t{SYSROOT}. \\
25 > \t{ESYSROOT} &
26 > - \t{src_*} &
27 > + \t{pkg_setup}, \t{src_*} &
28 > No &
29 > Contains the concatenation of the paths in the \t{SYSROOT} and \t{EPREFIX} variables,
30 > for convenience. See also the \t{EPREFIX} variable. Only for EAPIs listed
31 > in table~\ref{tab:offset-env-vars-table} as supporting \t{ESYSROOT}. \\
32 > \t{BROOT} &
33 > - \t{src_*} &
34 > + \t{pkg_setup}, \t{src_*} &
35 > No &
36 > \featurelabel{broot} The absolute path to the root directory containing build dependencies
37 > satisfied by \t{BDEPEND}, typically executable build tools. This includes any applicable offset
38
39 Ack. I was inclined to say no but I had forgotten about the earlier
40 change. In light of that, it makes sense.
41
42 --
43 James Le Cuirot (chewi)
44 Gentoo Linux Developer