1 |
Signed-off-by: Ulrich Müller <ulm@g.o> |
2 |
--- |
3 |
eclass/check-reqs.eclass | 13 +++++++------ |
4 |
1 file changed, 7 insertions(+), 6 deletions(-) |
5 |
|
6 |
diff --git a/eclass/check-reqs.eclass b/eclass/check-reqs.eclass |
7 |
index 5a754c54a303..ddf0a47775ae 100644 |
8 |
--- a/eclass/check-reqs.eclass |
9 |
+++ b/eclass/check-reqs.eclass |
10 |
@@ -1,4 +1,4 @@ |
11 |
-# Copyright 2004-2021 Gentoo Authors |
12 |
+# Copyright 2004-2022 Gentoo Authors |
13 |
# Distributed under the terms of the GNU General Public License v2 |
14 |
|
15 |
# @ECLASS: check-reqs.eclass |
16 |
@@ -76,6 +76,12 @@ _CHECK_REQS_ECLASS=1 |
17 |
# This is a user flag and should under _no circumstances_ be set in the ebuild. |
18 |
[[ -n ${I_KNOW_WHAT_I_AM_DOING} ]] && CHECKREQS_DONOTHING=1 |
19 |
|
20 |
+# @ECLASS_VARIABLE: CHECKREQS_FAILED |
21 |
+# @INTERNAL |
22 |
+# @DESCRIPTION: |
23 |
+# If set the checks failed and eclass should abort the build. |
24 |
+# Internal, do not set yourself. |
25 |
+ |
26 |
# @FUNCTION: check-reqs_pkg_setup |
27 |
# @DESCRIPTION: |
28 |
# Exported function running the resources checks in pkg_setup phase. |
29 |
@@ -457,11 +463,6 @@ _check-reqs_unsatisfied() { |
30 |
[[ ${EBUILD_PHASE} == "pretend" && -z ${CHECKREQS_DONOTHING} ]] && msg="eerror" |
31 |
${msg} "There is NOT at least ${sizeunit} ${location}" |
32 |
|
33 |
- # @ECLASS_VARIABLE: CHECKREQS_FAILED |
34 |
- # @INTERNAL |
35 |
- # @DESCRIPTION: |
36 |
- # If set the checks failed and eclass should abort the build. |
37 |
- # Internal, do not set yourself. |
38 |
CHECKREQS_FAILED="true" |
39 |
} |
40 |
|
41 |
-- |
42 |
2.35.1 |