summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-06-24 22:49:44 +0000
committerMike Frysinger <vapier@gentoo.org>2007-06-24 22:49:44 +0000
commitacdfd0e85340126fafd555744b3a60a03ff92fee (patch)
treeff834c855e5e7dafcbd080555551af8f41ba1047
parent(QA) Fix ${ROOT} abuse. bug #167240. (diff)
downloadgentoo-2-acdfd0e85340126fafd555744b3a60a03ff92fee.tar.gz
gentoo-2-acdfd0e85340126fafd555744b3a60a03ff92fee.tar.bz2
gentoo-2-acdfd0e85340126fafd555744b3a60a03ff92fee.zip
fix failure when USE="hal -zlib"
(Portage version: 2.1.3_rc5)
-rw-r--r--sys-apps/pciutils/pciutils-2.2.4-r3.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-apps/pciutils/pciutils-2.2.4-r3.ebuild b/sys-apps/pciutils/pciutils-2.2.4-r3.ebuild
index a6cf4e58dc11..c5e064eb20ba 100644
--- a/sys-apps/pciutils/pciutils-2.2.4-r3.ebuild
+++ b/sys-apps/pciutils/pciutils-2.2.4-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-2.2.4-r3.ebuild,v 1.12 2007/06/24 20:14:30 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-2.2.4-r3.ebuild,v 1.13 2007/06/24 22:49:44 vapier Exp $
inherit eutils flag-o-matic toolchain-funcs
@@ -44,7 +44,7 @@ src_install() {
-e '/^PCI_COMPRESSED_IDS=/s:=.*:=:' \
"${D}"/usr/sbin/update-pciids
cd "${D}"/usr/share/misc
- gunzip pci.ids.gz || die
+ use zlib && { gunzip pci.ids.gz || die ; }
fi
use network-cron || return 0