Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sat, 02 Jan 2016 10:41:38
Message-Id: 1451731286.e51702f0727a83f80acdc3ed1921c228c0b15f46.jlec@gentoo
1 commit: e51702f0727a83f80acdc3ed1921c228c0b15f46
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 27 08:33:20 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 2 10:41:26 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e51702f0
7
8 check-reqs.eclass: Only inherit eclass once
9
10 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
11
12 eclass/check-reqs.eclass | 5 +++++
13 1 file changed, 5 insertions(+)
14
15 diff --git a/eclass/check-reqs.eclass b/eclass/check-reqs.eclass
16 index d685f1f..4f74536 100644
17 --- a/eclass/check-reqs.eclass
18 +++ b/eclass/check-reqs.eclass
19 @@ -38,6 +38,8 @@
20 # These checks should probably mostly work on non-Linux, and they should
21 # probably degrade gracefully if they don't. Probably.
22
23 +if [[ ! ${_CHECK_REQS_ECLASS_} ]]; then
24 +
25 inherit eutils
26
27 # @ECLASS-VARIABLE: CHECKREQS_MEMORY
28 @@ -353,3 +355,6 @@ check-reqs_unsatisfied() {
29 # Internal, do not set yourself.
30 CHECKREQS_FAILED="true"
31 }
32 +
33 +_CHECK_REQS_ECLASS_=1
34 +fi