• [gentoo-dev] [PATCH] autotools.eclass: add gettext/m4 path

    From Nicolas PARLANT@21:1/5 to All on Wed Jun 11 10:40:01 2025
    since 0.24.1 (commit 02c475e2f3a64a9cc4e1caa9e712e5e643178579),
    gettext installs m4 files in /usr/share/gettext/m4 instead of aclocal.
    Add new path to dirlist.
    All bugs from tracker #957583 benefit from this modification.

    See PR #42540

    Bug: https://bugs.gentoo.org/957583
    Signed-off-by: Nicolas PARLANT <[email protected]>

    diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
    index 1866bb5fa629..228034f02edd 100644
    --- a/eclass/autotools.eclass
    +++ b/eclass/autotools.eclass
    @@ -384,10 +384,12 @@ eaclocal() {
    ${ESYSROOT}/usr/share/slibtool
    EOF
    fi
    -
    + # See bug #957583 for adding gettext/m4
    cat <<- EOF >> "${T}"/aclocal/dirlist || die
    ${BROOT}/usr/share/aclocal
    ${ESYSROOT}/usr/share/aclocal
    + ${BROOT}/usr/share/gettext/m4
    + ${ESYSROOT}/usr/share/gettext/m4
    EOF
    fi

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