summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Gardner <je_fro@gentoo.org>2008-02-04 18:24:54 +0000
committerJeffrey Gardner <je_fro@gentoo.org>2008-02-04 18:24:54 +0000
commitb256ce80f117845d3729fbefb153157aa30c377e (patch)
treee250fba262219b0eef2060373876c7f027f9c0cf /x11-drivers/ati-drivers/ati-drivers-8.40.4.ebuild
parentDropped ppc-macos keyword, see you in prefix (diff)
downloadhistorical-b256ce80f117845d3729fbefb153157aa30c377e.tar.gz
historical-b256ce80f117845d3729fbefb153157aa30c377e.tar.bz2
historical-b256ce80f117845d3729fbefb153157aa30c377e.zip
Adding PCI_LEGACY check to take care of bug #208776.
Package-Manager: portage-2.1.4.1
Diffstat (limited to 'x11-drivers/ati-drivers/ati-drivers-8.40.4.ebuild')
-rw-r--r--x11-drivers/ati-drivers/ati-drivers-8.40.4.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/x11-drivers/ati-drivers/ati-drivers-8.40.4.ebuild b/x11-drivers/ati-drivers/ati-drivers-8.40.4.ebuild
index 022aae94314b..bc9db3227bee 100644
--- a/x11-drivers/ati-drivers/ati-drivers-8.40.4.ebuild
+++ b/x11-drivers/ati-drivers/ati-drivers-8.40.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# 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.40.4.ebuild,v 1.5 2007/11/23 18:34:04 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.40.4.ebuild,v 1.6 2008/02/04 18:24:54 je_fro Exp $
IUSE="acpi multilib"
@@ -65,6 +65,11 @@ pkg_setup() {
die "Need a 2.6 kernel to compile against!"
fi
+ if kernel_is ge 2 6 24 && ! linux_chkconfig_present PCI_LEGACY; then
+ eerror "${P} requires support for pci_find_slot."
+ die "${P} requires support for pci_find_slot."
+ fi
+
if ! linux_chkconfig_present MTRR; then
ewarn "You don't have MTRR support enabled, the direct rendering will not work."
fi