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
commit1bbf778fed986bd636cba088619b7b76aaeb42e0 (patch)
tree3753e7a0a073a258a9c2953c6a0b4115ceeca418
parentAdd a dts USE flag, bug #380695 by Florian Klink. Remove old. (diff)
downloadhistorical-1bbf778fed986bd636cba088619b7b76aaeb42e0.tar.gz
historical-1bbf778fed986bd636cba088619b7b76aaeb42e0.tar.bz2
historical-1bbf778fed986bd636cba088619b7b76aaeb42e0.zip
Add xz-utils to DEPEND when == xz, bug #380521 by Alexandre Rostovtsev.
-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.