1 |
Sam James <sam@g.o> writes: |
2 |
|
3 |
> Since EAPI 3, EPREFIX has been defined via PMS. Having this as an |
4 |
> "eclass variable" in docs is confusing as it implies one needs |
5 |
> prefix.eclass to provide it. |
6 |
> |
7 |
> Drop it given it adds nothing and causes confusion. |
8 |
> |
9 |
> Reported-by: Aaron W. Swenson <titanofold@g.o> |
10 |
> Signed-off-by: Sam James <sam@g.o> |
11 |
> --- |
12 |
> eclass/prefix.eclass | 14 +------------- |
13 |
> 1 file changed, 1 insertion(+), 13 deletions(-) |
14 |
> |
15 |
> diff --git a/eclass/prefix.eclass b/eclass/prefix.eclass |
16 |
> index 8d50d0ba7b6e..4a8c0e4ff15f 100644 |
17 |
> --- a/eclass/prefix.eclass |
18 |
> +++ b/eclass/prefix.eclass |
19 |
> @@ -1,4 +1,4 @@ |
20 |
> -# Copyright 1999-2021 Gentoo Authors |
21 |
> +# Copyright 1999-2022 Gentoo Authors |
22 |
> # Distributed under the terms of the GNU General Public License v2 |
23 |
> |
24 |
> # @ECLASS: prefix.eclass |
25 |
> @@ -20,18 +20,6 @@ esac |
26 |
> if [[ -z ${_PREFIX_ECLASS} ]]; then |
27 |
> _PREFIX_ECLASS=1 |
28 |
> |
29 |
> -# @ECLASS_VARIABLE: EPREFIX |
30 |
> -# @DESCRIPTION: |
31 |
> -# The offset prefix of a Gentoo Prefix installation. When Gentoo Prefix |
32 |
> -# is not used, ${EPREFIX} should be "". Prefix Portage sets EPREFIX, |
33 |
> -# hence this eclass has nothing to do here in that case. |
34 |
> -# Note that setting EPREFIX in the environment with Prefix Portage sets |
35 |
> -# Portage into cross-prefix mode. |
36 |
> -if [[ ! ${EPREFIX+set} ]]; then |
37 |
> - export EPREFIX='' |
38 |
> -fi |
39 |
> - |
40 |
> - |
41 |
> # @FUNCTION: eprefixify |
42 |
> # @USAGE: <list of to be eprefixified files> |
43 |
> # @DESCRIPTION: |
44 |
|
45 |
LGTM, thanks Sam! |
46 |
|
47 |
Yours, |
48 |
Benda |