1 |
commit: 5ba27de73a0e18d01027abdb3f051ee5e5773748 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 10 20:59:47 2019 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 11 17:14:31 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ba27de7 |
7 |
|
8 |
gnome.org.eclass: BDEPEND for xz-utils with EAPI-7 |
9 |
|
10 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
11 |
|
12 |
eclass/gnome.org.eclass | 6 +++++- |
13 |
1 file changed, 5 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/eclass/gnome.org.eclass b/eclass/gnome.org.eclass |
16 |
index 421389f32e6..fd6077e4594 100644 |
17 |
--- a/eclass/gnome.org.eclass |
18 |
+++ b/eclass/gnome.org.eclass |
19 |
@@ -29,7 +29,11 @@ fi |
20 |
# Even though xz-utils are in @system, they must still be added to DEPEND; see |
21 |
# https://archives.gentoo.org/gentoo-dev/msg_a0d4833eb314d1be5d5802a3b710e0a4.xml |
22 |
if [[ ${GNOME_TARBALL_SUFFIX} == "xz" ]]; then |
23 |
- DEPEND="${DEPEND} app-arch/xz-utils" |
24 |
+ if [[ ${EAPI:-0} != [0123456] ]]; then |
25 |
+ BDEPEND="app-arch/xz-utils" |
26 |
+ else |
27 |
+ DEPEND="app-arch/xz-utils" |
28 |
+ fi |
29 |
fi |
30 |
|
31 |
# @ECLASS-VARIABLE: GNOME_ORG_MODULE |