projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9507e28
)
check-reqs.eclass: Only inherit eclass once
author
Justin Lecher
<jlec@gentoo.org>
Sun, 27 Dec 2015 08:33:20 +0000
(09:33 +0100)
committer
Justin Lecher
<jlec@gentoo.org>
Sat, 2 Jan 2016 10:41:26 +0000
(11:41 +0100)
Signed-off-by: Justin Lecher <jlec@gentoo.org>
eclass/check-reqs.eclass
patch
|
blob
|
history
diff --git
a/eclass/check-reqs.eclass
b/eclass/check-reqs.eclass
index d685f1f760fd85fafc97055e71e398323a4728c6..4f745369f8a906ee63e7096976e01f28fddc3b5b 100644
(file)
--- 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