summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-08-06 12:28:43 +0000
committerMike Frysinger <vapier@gentoo.org>2007-08-06 12:28:43 +0000
commit0c67642600af08d29ee1d0fe28bde49298809451 (patch)
treeb7782756848340f652d88e9ee7314306bc0603b9 /sys-apps/hal/hal-0.5.9.1-r1.ebuild
parentSparc stable --- Bug #186845 --- Passes all internal tests. (diff)
downloadgentoo-2-0c67642600af08d29ee1d0fe28bde49298809451.tar.gz
gentoo-2-0c67642600af08d29ee1d0fe28bde49298809451.tar.bz2
gentoo-2-0c67642600af08d29ee1d0fe28bde49298809451.zip
Also check for USE=hal hack.
(Portage version: 2.1.3)
Diffstat (limited to 'sys-apps/hal/hal-0.5.9.1-r1.ebuild')
-rw-r--r--sys-apps/hal/hal-0.5.9.1-r1.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys-apps/hal/hal-0.5.9.1-r1.ebuild b/sys-apps/hal/hal-0.5.9.1-r1.ebuild
index 4ed9a59158bc..8da0dbe5805b 100644
--- a/sys-apps/hal/hal-0.5.9.1-r1.ebuild
+++ b/sys-apps/hal/hal-0.5.9.1-r1.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/hal/hal-0.5.9.1-r1.ebuild,v 1.3 2007/08/01 13:51:20 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.9.1-r1.ebuild,v 1.4 2007/08/06 12:28:43 vapier Exp $
inherit eutils linux-info autotools flag-o-matic
@@ -80,9 +80,11 @@ function notify_inotify() {
}
pkg_setup() {
- if built_with_use --missing false sys-apps/pciutils zlib ; then
- eerror "You MUST build sys-apps/pciutils without the zlib USE flag"
- die "You MUST build sys-apps/pciutils without the zlib USE flag"
+ if ! built_with_use --missing false sys-apps/pciutils hal ; then
+ if built_with_use --missing false sys-apps/pciutils zlib ; then
+ eerror "You MUST build sys-apps/pciutils without the zlib USE flag"
+ die "You MUST build sys-apps/pciutils without the zlib USE flag"
+ fi
fi
if use kernel_linux; then