commit:     34090224b36ba20ec53ba5a1086380130e83bf33
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 29 14:05:41 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 29 14:05:53 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=34090224

autotools.eclass: sync with ::gentoo

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 ecfa3c2cf9..fbe7d837f0 100644
--- a/eclass/autotools.eclass
+++ b/eclass/autotools.eclass
@@ -527,7 +527,7 @@ autotools_env_setup() {
                                        hv_args="-b"
                                        ;;
                        esac
-                       ROOT=/ has_version ${hv_args} 
"=sys-devel/automake-${pv}*" && export WANT_AUTOMAKE="${pv}" && break
+                       has_version ${hv_args} "=sys-devel/automake-${pv}*" && 
export WANT_AUTOMAKE="${pv}" && break
                done
                [[ ${WANT_AUTOMAKE} == "latest" ]] && \
                        die "Cannot find the latest automake! Tried 
${_LATEST_AUTOMAKE[*]}"

Reply via email to