commit:     3cc3c088b3110126be84f74c0b8ffe0a6daab24f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  3 16:27:11 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 11 20:59:59 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cc3c088

autotools.eclass: fix EAPI support logic in config_rpath_update

${EPREFIX} doesn't exist pre-EAPI 3, so let's make that clear.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/autotools.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index 054a31781e7..4a963d78db5 100644
--- a/eclass/autotools.eclass
+++ b/eclass/autotools.eclass
@@ -475,7 +475,7 @@ config_rpath_update() {
        local dst src
 
        case ${EAPI:-0} in
-               0|1|2|3|4|5|6)
+               4|5|6)
                        src="${EPREFIX}/usr/share/gettext/config.rpath"
                        ;;
                *)

Reply via email to