commit:     650763e87a32e18487d838d7677f6a198cb5007f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 27 20:53:12 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 11 20:59:47 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=650763e8

autotools.eclass: consistently use ${ECLASS}, not "autotools.eclass"

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

 eclass/autotools.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index 83b8bbd9134..8591199d113 100644
--- a/eclass/autotools.eclass
+++ b/eclass/autotools.eclass
@@ -19,7 +19,7 @@ if [[ ${__AUTOTOOLS_AUTO_DEPEND+set} == "set" ]] ; then
        # eclass at that point, but that adds overhead, and it's trivial
        # to re-order inherit in eclasses/ebuilds instead.  #409611
        if [[ ${__AUTOTOOLS_AUTO_DEPEND} != ${AUTOTOOLS_AUTO_DEPEND} ]] ; then
-               die "AUTOTOOLS_AUTO_DEPEND changed value between inherits; 
please inherit autotools.eclass first! ${__AUTOTOOLS_AUTO_DEPEND} -> 
${AUTOTOOLS_AUTO_DEPEND}"
+               die "AUTOTOOLS_AUTO_DEPEND changed value between inherits; 
please inherit ${ECLASS} first! ${__AUTOTOOLS_AUTO_DEPEND} -> 
${AUTOTOOLS_AUTO_DEPEND}"
        fi
 fi
 
@@ -648,7 +648,7 @@ _autotools_m4dir_include() {
                        # We handle it below
                        -${flag}) ;;
                        *)
-                               [[ ! -d ${x} ]] && ewarn "autotools.eclass: 
'${x}' does not exist"
+                               [[ ! -d ${x} ]] && ewarn "${ECLASS}: '${x}' 
does not exist"
                                include_opts+=" -${flag} ${x}"
                                ;;
                esac

Reply via email to