summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-09-08 19:07:12 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-09-08 19:07:12 +0000
commitee1f3e2ca75dbcd6ac3b930841b91cffd51461c1 (patch)
treebeed65200320d11d02bd9c3bc3e602189199bc64 /sys-power/kpowersave/kpowersave-0.6.2.ebuild
parentAccept dbus-glib aside from dbus proper. (diff)
downloadgentoo-2-ee1f3e2ca75dbcd6ac3b930841b91cffd51461c1.tar.gz
gentoo-2-ee1f3e2ca75dbcd6ac3b930841b91cffd51461c1.tar.bz2
gentoo-2-ee1f3e2ca75dbcd6ac3b930841b91cffd51461c1.zip
Accept dbus-qt3-old aside from dbus proper, and don't do the useflag check for that case.
(Portage version: 2.1.1_rc1-r7)
Diffstat (limited to 'sys-power/kpowersave/kpowersave-0.6.2.ebuild')
-rw-r--r--sys-power/kpowersave/kpowersave-0.6.2.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-power/kpowersave/kpowersave-0.6.2.ebuild b/sys-power/kpowersave/kpowersave-0.6.2.ebuild
index de93658a2b2f..0b58a65e9746 100644
--- a/sys-power/kpowersave/kpowersave-0.6.2.ebuild
+++ b/sys-power/kpowersave/kpowersave-0.6.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/kpowersave/kpowersave-0.6.2.ebuild,v 1.1 2006/07/03 07:45:31 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/kpowersave/kpowersave-0.6.2.ebuild,v 1.2 2006/09/08 19:07:12 flameeyes Exp $
inherit kde
@@ -13,12 +13,12 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND=">=sys-apps/hal-0.5.4
- >=sys-apps/dbus-0.33
+ || ( dev-libs/dbus-qt3-old >=sys-apps/dbus-0.33 )
>=sys-power/powersave-0.11.5
kde-base/unsermake"
pkg_setup() {
- if ! built_with_use sys-apps/dbus qt3; then
+ if has_version '<sys-apps/dbus-0.91' && ! built_with_use sys-apps/dbus qt3; then
eerror "dbus is missing qt3 support. Please add"
eerror "'qt3' to your USE flags, and re-emerge sys-apps/dbus."
die "dbus needs qt3 support"