Fixes: https://bugs.gentoo.org/show_bug.cgi?id=398147 --- gx86/eclass/autotools-utils.eclass | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gx86/eclass/autotools-utils.eclass b/gx86/eclass/autotools-utils.eclass index 7bdc5d6..a03abb5 100644 --- a/gx86/eclass/autotools-utils.eclass +++ b/gx86/eclass/autotools-utils.eclass @@ -485,7 +485,11 @@ autotools-utils_src_install() { # XXX: support installing them from builddir as well? if [[ ${DOCS} ]]; then - dodoc "${DOCS[@]}" || die "dodoc failed" + if [[ ${EAPI} == [23] ]]; then + dodoc "${DOCS[@]}" || die + else + dodoc -r "${DOCS[@]}" || die + fi else local f # same list as in PMS -- 1.8.0