diff options
author | Jeffrey Gardner <je_fro@gentoo.org> | 2008-01-30 15:21:46 +0000 |
---|---|---|
committer | Jeffrey Gardner <je_fro@gentoo.org> | 2008-01-30 15:21:46 +0000 |
commit | 8f00337e220f14a1c4483bb690d4f6aeb7f3b633 (patch) | |
tree | e5bd9f17a11bf5d5547585cf3b32e5fe7c38dac8 | |
parent | Remove G_GNUC_PRETTY_FUCTION, because new glib removes that (diff) | |
download | gentoo-2-8f00337e220f14a1c4483bb690d4f6aeb7f3b633.tar.gz gentoo-2-8f00337e220f14a1c4483bb690d4f6aeb7f3b633.tar.bz2 gentoo-2-8f00337e220f14a1c4483bb690d4f6aeb7f3b633.zip |
ebuild to die if PCI_LEGACY not present with a 2.6.24 kernel, thanks to Jory Pratt
(Portage version: 2.1.4)
-rw-r--r-- | x11-drivers/ati-drivers/ChangeLog | 6 | ||||
-rw-r--r-- | x11-drivers/ati-drivers/ati-drivers-8.452.ebuild | 8 |
2 files changed, 9 insertions, 5 deletions
diff --git a/x11-drivers/ati-drivers/ChangeLog b/x11-drivers/ati-drivers/ChangeLog index 3ce1b3c7dc86..67d8c47a8041 100644 --- a/x11-drivers/ati-drivers/ChangeLog +++ b/x11-drivers/ati-drivers/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-drivers/ati-drivers # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ChangeLog,v 1.105 2008/01/25 05:36:40 je_fro Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ChangeLog,v 1.106 2008/01/30 15:21:46 je_fro Exp $ + + 30 Jan 2008; Jeff Gardner <je_fro@gentoo.org> ati-drivers-8.452.ebuild: + ebuild to die if PCI_LEGACY not present with a 2.6.24 kernel, thanks to Jory + Pratt 25 Jan 2008; Jeff Gardner <je_fro@gentoo.org> metadata.xml: Adding myself as a maintainer in metadata.xml diff --git a/x11-drivers/ati-drivers/ati-drivers-8.452.ebuild b/x11-drivers/ati-drivers/ati-drivers-8.452.ebuild index b980474ca03d..d7fe9c1ce72a 100644 --- a/x11-drivers/ati-drivers/ati-drivers-8.452.ebuild +++ b/x11-drivers/ati-drivers/ati-drivers-8.452.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.452.ebuild,v 1.1 2008/01/25 05:14:59 je_fro Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.452.ebuild,v 1.2 2008/01/30 15:21:46 je_fro Exp $ IUSE="acpi debug" @@ -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 |