From: Pacho Ramos Date: Mon, 12 Sep 2011 15:54:53 +0000 (+0000) Subject: Add xz-utils to DEPEND when == xz, bug #380521 by Alexandre Rostovtsev. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=1bbf778fed986bd636cba088619b7b76aaeb42e0;p=gentoo.git Add xz-utils to DEPEND when == xz, bug #380521 by Alexandre Rostovtsev. --- 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.