Gentoo Archives: gentoo-pms

From: "Michał Górny" <mgorny@g.o>
To: gentoo-pms@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-pms] [PATCH v2] ebuild-env-vars.tex: Allow SYSROOT & BROOT in pkg_setup
Date: Sun, 05 May 2019 18:43:25
Message-Id: 20190505184318.1666-1-mgorny@gentoo.org
1 Allow using SYSROOT & BROOT in pkg_setup(), when building from source.
2 This follows the earlier change allowing for build-time dependencies
3 in pkg_setup under the same circumstances.
4 ---
5 ebuild-env-vars.tex | 7 ++++---
6 1 file changed, 4 insertions(+), 3 deletions(-)
7
8 diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex
9 index 56f959c..660d17b 100644
10 --- a/ebuild-env-vars.tex
11 +++ b/ebuild-env-vars.tex
12 @@ -132,19 +132,20 @@ variable.
13 table~\ref{tab:offset-env-vars-table} as supporting \t{EROOT}\@. The presence of a trailing
14 slash is EAPI dependent as listed in table~\ref{tab:trailing-slash}. \\
15 \t{SYSROOT} &
16 - \t{src_*} &
17 + \t{src_*}, \t{pkg_setup}\footnote{Not necessarily present when installing from a binary
18 + package.} &
19 No &
20 \featurelabel{sysroot} The absolute path to the root directory containing build dependencies
21 satisfied by \t{DEPEND}\@. Only for EAPIs listed in table~\ref{tab:added-env-vars-table}
22 as supporting \t{SYSROOT}. \\
23 \t{ESYSROOT} &
24 - \t{src_*} &
25 + Ditto &
26 No &
27 Contains the concatenation of the paths in the \t{SYSROOT} and \t{EPREFIX} variables,
28 for convenience. See also the \t{EPREFIX} variable. Only for EAPIs listed
29 in table~\ref{tab:offset-env-vars-table} as supporting \t{ESYSROOT}. \\
30 \t{BROOT} &
31 - \t{src_*} &
32 + Ditto &
33 No &
34 \featurelabel{broot} The absolute path to the root directory containing build dependencies
35 satisfied by \t{BDEPEND}, typically executable build tools. This includes any applicable offset
36 --
37 2.21.0

Replies