summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2011-09-12 15:54:53 +0000
committerPacho Ramos <pacho@gentoo.org>2011-09-12 15:54:53 +0000
commit1271e5fc8128d9c8a6a50e0cb951949073a97ebd (patch)
tree75f769ecb1be9d80eff0fac03ef6dca5ef0027c4 /eclass/gnome.org.eclass
parentAdd a dts USE flag, bug #380695 by Florian Klink. Remove old. (diff)
downloadgentoo-2-1271e5fc8128d9c8a6a50e0cb951949073a97ebd.tar.gz
gentoo-2-1271e5fc8128d9c8a6a50e0cb951949073a97ebd.tar.bz2
gentoo-2-1271e5fc8128d9c8a6a50e0cb951949073a97ebd.zip
Add xz-utils to DEPEND when == xz, bug #380521 by Alexandre Rostovtsev.
Diffstat (limited to 'eclass/gnome.org.eclass')
-rw-r--r--eclass/gnome.org.eclass8
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/gnome.org.eclass b/eclass/gnome.org.eclass
index 70968eabfd58..34c53a082804 100644
--- a/eclass/gnome.org.eclass
+++ b/eclass/gnome.org.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gnome.org.eclass,v 1.14 2011/08/22 04:46:31 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnome.org.eclass,v 1.15 2011/09/12 15:54:53 pacho Exp $
# @ECLASS: gnome.org.eclass
# @MAINTAINER:
@@ -26,6 +26,12 @@ else
: ${GNOME_TARBALL_SUFFIX:="xz"}
fi
+# Even though xz-utils are in @system, they must still be added to DEPEND; see
+# http://archives.gentoo.org/gentoo-dev/msg_a0d4833eb314d1be5d5802a3b710e0a4.xml
+if [[ ${GNOME_TARBALL_SUFFIX} == "xz" ]]; then
+ DEPEND="${DEPEND} app-arch/xz-utils"
+fi
+
# @ECLASS-VARIABLE: GNOME_ORG_MODULE
# @DESCRIPTION:
# Name of the module as hosted on gnome.org mirrors.