commit: e51702f0727a83f80acdc3ed1921c228c0b15f46 Author: Justin Lecher <jlec <AT> gentoo <DOT> org> AuthorDate: Sun Dec 27 08:33:20 2015 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Sat Jan 2 10:41:26 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e51702f0
check-reqs.eclass: Only inherit eclass once Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> eclass/check-reqs.eclass | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/eclass/check-reqs.eclass b/eclass/check-reqs.eclass index d685f1f..4f74536 100644 --- a/eclass/check-reqs.eclass +++ b/eclass/check-reqs.eclass @@ -38,6 +38,8 @@ # These checks should probably mostly work on non-Linux, and they should # probably degrade gracefully if they don't. Probably. +if [[ ! ${_CHECK_REQS_ECLASS_} ]]; then + inherit eutils # @ECLASS-VARIABLE: CHECKREQS_MEMORY @@ -353,3 +355,6 @@ check-reqs_unsatisfied() { # Internal, do not set yourself. CHECKREQS_FAILED="true" } + +_CHECK_REQS_ECLASS_=1 +fi