Add xz-utils to DEPEND when == xz, bug #380521 by Alexandre Rostovtsev.
authorPacho Ramos <pacho@gentoo.org>
Mon, 12 Sep 2011 15:54:53 +0000 (15:54 +0000)
committerPacho Ramos <pacho@gentoo.org>
Mon, 12 Sep 2011 15:54:53 +0000 (15:54 +0000)
eclass/gnome.org.eclass

index 70968eabfd58a2254c20d408f609c78d4365467e..34c53a082804314c9a1032c5f0559b3a48c62f4b 100644 (file)
@@ -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.