summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2008-11-22 06:08:31 +0000
committerLuca Barbato <lu_zero@gentoo.org>2008-11-22 06:08:31 +0000
commit0284a388ecc2b51382ab6dcdb2744c8cc96700eb (patch)
tree8ab1b242666066faabd4222862ef30a4966cdada /x11-drivers/ati-drivers/ati-drivers-8.552-r2.ebuild
parent21 Nov 2008; Zac Medico <zmedico@gentoo.org> ChangeLog, (diff)
downloadhistorical-0284a388ecc2b51382ab6dcdb2744c8cc96700eb.tar.gz
historical-0284a388ecc2b51382ab6dcdb2744c8cc96700eb.tar.bz2
historical-0284a388ecc2b51382ab6dcdb2744c8cc96700eb.zip
Add check for MAGIC_SYSRQ
Package-Manager: portage-2.2_rc14/cvs/Linux 2.6.26-gentoo-r1 x86_64
Diffstat (limited to 'x11-drivers/ati-drivers/ati-drivers-8.552-r2.ebuild')
-rw-r--r--x11-drivers/ati-drivers/ati-drivers-8.552-r2.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/x11-drivers/ati-drivers/ati-drivers-8.552-r2.ebuild b/x11-drivers/ati-drivers/ati-drivers-8.552-r2.ebuild
index deefa35eb7ec..9e8beedf2213 100644
--- a/x11-drivers/ati-drivers/ati-drivers-8.552-r2.ebuild
+++ b/x11-drivers/ati-drivers/ati-drivers-8.552-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.552-r2.ebuild,v 1.1 2008/11/19 22:59:23 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.552-r2.ebuild,v 1.2 2008/11/22 06:08:31 lu_zero Exp $
IUSE="acpi debug"
@@ -114,6 +114,11 @@ pkg_setup() {
die "CONFIG_PARAVIRT enabled"
fi
+ if ! linux_chkconfig_present MAGIC_SYSRQ; then
+ eerror "You need MAGIC_SYSRQ enabled in order to build ati-drivers"
+ die "CONFIG_MAGIC_SYSRQ disabled"
+ fi
+
# Only support xorg-server >=1.5
BASE_DIR="${S}/x740"