From: Justin Lecher Date: Sun, 27 Dec 2015 08:33:20 +0000 (+0100) Subject: check-reqs.eclass: Only inherit eclass once X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=e51702f0727a83f80acdc3ed1921c228c0b15f46;p=gentoo.git check-reqs.eclass: Only inherit eclass once Signed-off-by: Justin Lecher --- diff --git a/eclass/check-reqs.eclass b/eclass/check-reqs.eclass index d685f1f760fd..4f745369f8a9 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