summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-12-27 09:33:20 +0100
committerJustin Lecher <jlec@gentoo.org>2016-01-02 11:41:26 +0100
commite51702f0727a83f80acdc3ed1921c228c0b15f46 (patch)
tree45d62885e1dc9404891f4f046e444a2d6278c81b /eclass
parentsys-auth/polkit: fix gtk-doc installation, bug #552170, add gettext to DEPEND... (diff)
downloadgentoo-e51702f0727a83f80acdc3ed1921c228c0b15f46.tar.gz
gentoo-e51702f0727a83f80acdc3ed1921c228c0b15f46.tar.bz2
gentoo-e51702f0727a83f80acdc3ed1921c228c0b15f46.zip
check-reqs.eclass: Only inherit eclass once
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/check-reqs.eclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/eclass/check-reqs.eclass b/eclass/check-reqs.eclass
index d685f1f760f..4f745369f8a 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