Running them in src_unpack made sense only in EAPIs 0 and 1.

Fixes: 18fda95cea306efe8009d1100195225acd8f8756
Signed-off-by: Ulrich Müller <u...@gentoo.org>
---
 eclass/autotools.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index 3a040b863eea..7b94efc225fe 100644
--- a/eclass/autotools.eclass
+++ b/eclass/autotools.eclass
@@ -560,7 +560,7 @@ autotools_run_tool() {
                shift
        done
 
-       if [[ ${EBUILD_PHASE_FUNC} != "src_unpack" && ${EBUILD_PHASE_FUNC} != 
"src_prepare" ]] ; then
+       if [[ ${EBUILD_PHASE_FUNC} != "src_prepare" ]] ; then
                eqawarn "Running '${1}' in ${EBUILD_PHASE_FUNC} phase"
        fi
 
-- 
2.40.1


Reply via email to