summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/ati-drivers/ati-drivers-8.452.ebuild')
-rw-r--r--x11-drivers/ati-drivers/ati-drivers-8.452.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/x11-drivers/ati-drivers/ati-drivers-8.452.ebuild b/x11-drivers/ati-drivers/ati-drivers-8.452.ebuild
index 45efe27..0ceea1f 100644
--- a/x11-drivers/ati-drivers/ati-drivers-8.452.ebuild
+++ b/x11-drivers/ati-drivers/ati-drivers-8.452.ebuild
@@ -73,9 +73,9 @@ pkg_setup() {
die "Need a 2.6 kernel to compile against!"
fi
- if kernel_is ge 2 6 24; then
- CONFIG_CHECK="PCI_LEGACY"
- ERROR_PCI_LEGACY="${P} requires support for pci_find_slot (CONFIG_PCI_LEGACY)."
+ 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