commit:     279f37e6f42a9ee83d797c8ca350aaf7ac7279e9
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 21 13:44:42 2021 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Jun 21 13:46:20 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=279f37e6

multilib.eclass: store EAPI=0 support used by crossdev

Reported-by: Marco Scardovi (scardracs)
Bug: https://bugs.gentoo.org/797367
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 eclass/multilib.eclass | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass
index 29acc7f5fba..6ba820229de 100644
--- a/eclass/multilib.eclass
+++ b/eclass/multilib.eclass
@@ -10,7 +10,8 @@
 # This eclass is for all functions pertaining to handling multilib 
configurations.
 
 case ${EAPI:-0} in
-       [567]) ;;
+       # EAPI=0 is still used by crossdev, bug #797367
+       [0567]) ;;
        *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
 esac
 
@@ -53,7 +54,7 @@ has_multilib_profile() {
 #   fall back on old behavior.  Any profile that has these set should also
 #   depend on a newer version of portage (not yet released) which uses these
 #   over CONF_LIBDIR in econf, dolib, etc...
-if [[ ${EAPI} == 5 ]] ; then
+if [[ ${EAPI} == [05] ]] ; then
        get_libdir() {
                local CONF_LIBDIR
                if [ -n  "${CONF_LIBDIR_OVERRIDE}" ] ; then

Reply via email to