summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-08-31 12:02:18 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2009-08-31 12:02:18 +0000
commit912a29ac585743d16b5bf27c5de38d1aab634fce (patch)
tree250c1be6f813540802a14c240e3397338c33ce47 /x11-drivers
parentAdd new in-kernel check for LOCKDEP. Per bug #283301. Thx to loki_val for the... (diff)
downloadgentoo-2-912a29ac585743d16b5bf27c5de38d1aab634fce.tar.gz
gentoo-2-912a29ac585743d16b5bf27c5de38d1aab634fce.tar.bz2
gentoo-2-912a29ac585743d16b5bf27c5de38d1aab634fce.zip
Adjust ACPI checks in ebuild. Per bug #254513.
(Portage version: 2.2_rc38/cvs/Linux i686)
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/ati-drivers/ChangeLog6
-rw-r--r--x11-drivers/ati-drivers/ati-drivers-9.8.ebuild14
2 files changed, 18 insertions, 2 deletions
diff --git a/x11-drivers/ati-drivers/ChangeLog b/x11-drivers/ati-drivers/ChangeLog
index a8a88cee2902..d03041c84667 100644
--- a/x11-drivers/ati-drivers/ChangeLog
+++ b/x11-drivers/ati-drivers/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-drivers/ati-drivers
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ChangeLog,v 1.179 2009/08/31 11:29:55 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ChangeLog,v 1.180 2009/08/31 12:02:18 scarabeus Exp $
+
+ 31 Aug 2009; Tomáš Chvátal <scarabeus@gentoo.org>
+ ati-drivers-9.8.ebuild:
+ Adjust ACPI checks in ebuild. Per bug #254513.
31 Aug 2009; Tomáš Chvátal <scarabeus@gentoo.org>
ati-drivers-9.8.ebuild:
diff --git a/x11-drivers/ati-drivers/ati-drivers-9.8.ebuild b/x11-drivers/ati-drivers/ati-drivers-9.8.ebuild
index 8c42ee271f23..b0a6cdf1a86e 100644
--- a/x11-drivers/ati-drivers/ati-drivers-9.8.ebuild
+++ b/x11-drivers/ati-drivers/ati-drivers-9.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-9.8.ebuild,v 1.10 2009/08/31 11:29:55 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-9.8.ebuild,v 1.11 2009/08/31 12:02:18 scarabeus Exp $
EAPI="2"
@@ -107,6 +107,17 @@ _check_kernel_config() {
ewarn "Direct rendering will not work."
fi
+ if ! linux_chkconfig_present ACPI; then
+ eerror "${P} requires the ACPI support in the kernel"
+ eerror "Please enable it:"
+ eerror " CONFIG_ACPI=y"
+ eerror "in /usr/src/linux/.config or"
+ eerror " Power management and ACPI options --->"
+ eerror " [*] Power Management support"
+ eerror "in the 'menuconfig'"
+ die "CONFIG_ACPI disabled"
+ fi
+
if ! linux_chkconfig_present MAGIC_SYSRQ; then
eerror "${P} requires the magic SysRq keys in the kernel."
eerror "Please enable it:"
@@ -115,6 +126,7 @@ _check_kernel_config() {
eerror " Kernel hacking --->"
eerror " [*] Magic SysRq key"
eerror "in the 'menuconfig'"
+ die "CONFIG_MAGIC_SYSRQ disabled"
fi
if ! linux_chkconfig_present PCI_MSI; then