diff options
author | Sam James <sam@gentoo.org> | 2021-03-27 21:12:43 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-11 20:59:50 +0000 |
commit | 70f9a291edb7321f350f87c5eb1901fb515330a2 (patch) | |
tree | b4e13888ada76c1990c2e4e9f102833d25af9a27 /eclass | |
parent | autotools.eclass: drop support for < EAPI 5 (diff) | |
download | gentoo-70f9a291edb7321f350f87c5eb1901fb515330a2.tar.gz gentoo-70f9a291edb7321f350f87c5eb1901fb515330a2.tar.bz2 gentoo-70f9a291edb7321f350f87c5eb1901fb515330a2.zip |
autotools.eclass: convert phase test to EBUILD_PHASE_FUNC
Introduced in EAPI 5.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/autotools.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass index 0e8f3cdc98ac..e24a07e79454 100644 --- a/eclass/autotools.eclass +++ b/eclass/autotools.eclass @@ -529,8 +529,8 @@ autotools_run_tool() { shift done - if [[ ${EBUILD_PHASE} != "unpack" && ${EBUILD_PHASE} != "prepare" ]] ; then - eqawarn "Running '${1}' in ${EBUILD_PHASE} phase" + if [[ ${EBUILD_PHASE_FUNC} != "src_unpack" && ${EBUILD_PHASE_FUNC} != "src_prepare" ]] ; then + eqawarn "Running '${1}' in ${EBUILD_PHASE_FUNC} phase" fi if ${missing_ok} && ! type -P ${1} >/dev/null ; then |