diff options
author | Mart Raudsepp <leio@gentoo.org> | 2019-02-10 22:59:47 +0200 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2019-02-11 19:14:31 +0200 |
commit | 5ba27de73a0e18d01027abdb3f051ee5e5773748 (patch) | |
tree | a88d8517bd0736ec6a43a6a4d55223146f89ebc3 /eclass/gnome.org.eclass | |
parent | gnome2-utils: enable EAPI 7 (diff) | |
download | gentoo-5ba27de73a0e18d01027abdb3f051ee5e5773748.tar.gz gentoo-5ba27de73a0e18d01027abdb3f051ee5e5773748.tar.bz2 gentoo-5ba27de73a0e18d01027abdb3f051ee5e5773748.zip |
gnome.org.eclass: BDEPEND for xz-utils with EAPI-7
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'eclass/gnome.org.eclass')
-rw-r--r-- | eclass/gnome.org.eclass | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/gnome.org.eclass b/eclass/gnome.org.eclass index 421389f32e6d..fd6077e4594c 100644 --- a/eclass/gnome.org.eclass +++ b/eclass/gnome.org.eclass @@ -29,7 +29,11 @@ fi # Even though xz-utils are in @system, they must still be added to DEPEND; see # https://archives.gentoo.org/gentoo-dev/msg_a0d4833eb314d1be5d5802a3b710e0a4.xml if [[ ${GNOME_TARBALL_SUFFIX} == "xz" ]]; then - DEPEND="${DEPEND} app-arch/xz-utils" + if [[ ${EAPI:-0} != [0123456] ]]; then + BDEPEND="app-arch/xz-utils" + else + DEPEND="app-arch/xz-utils" + fi fi # @ECLASS-VARIABLE: GNOME_ORG_MODULE |