• [gentoo-dev] [PATCH 05/11] distutils-r1.eclass: Pass EPREFIX to addpred

    From =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?@21:1/5 to All on Fri Jul 29 12:40:02 2022
    Pointed out by Arfrever.

    Signed-off-by: Michał Górny <mgorny@gentoo.org>
    ---
    eclass/distutils-r1.eclass | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
    index e4ef1919bc7d..495eead1d5fd 100644
    --- a/eclass/distutils-r1.eclass
    +++ b/eclass/distutils-r1.eclass
    @@ -1647,8 +1647,8 @@ distutils-r1_python_install() {
    # python likes to compile any module it sees, which triggers sandbox
    # failures if some packages haven't compiled their modules yet.
    addpredict "${EPREFIX}/usr/lib/${EPYTHON}"
    - addpredict /usr/lib/pypy3.9
    - addpredict /usr/local # bug 498232
    + addpredict "${EPREFIX}/usr/lib/pypy3.9"
    + addpredict "${EPREFIX}/usr/local" # bug 498232

    if [[ ! ${DISTUTILS_SINGLE_IMPL} ]]; then
    merge_root=1
    --
    2.35.1

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)