summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2004-11-20 11:25:12 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2004-11-20 11:25:12 +0000
commitece252b8c543bf6ce9d42e7b2f0c7b791509e095 (patch)
treebb933e8b7584cc6a3b8efd69384aae15702400ac /app-laptop/ibm-acpi/ibm-acpi-0.7.ebuild
parentmozilla plugin doesn't work with amd64, removing it (diff)
downloadhistorical-ece252b8c543bf6ce9d42e7b2f0c7b791509e095.tar.gz
historical-ece252b8c543bf6ce9d42e7b2f0c7b791509e095.tar.bz2
historical-ece252b8c543bf6ce9d42e7b2f0c7b791509e095.zip
Bail out if kernel is 2.4.x.
Diffstat (limited to 'app-laptop/ibm-acpi/ibm-acpi-0.7.ebuild')
-rw-r--r--app-laptop/ibm-acpi/ibm-acpi-0.7.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/app-laptop/ibm-acpi/ibm-acpi-0.7.ebuild b/app-laptop/ibm-acpi/ibm-acpi-0.7.ebuild
index 62cd16ddb09a..c3b967785485 100644
--- a/app-laptop/ibm-acpi/ibm-acpi-0.7.ebuild
+++ b/app-laptop/ibm-acpi/ibm-acpi-0.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/ibm-acpi/ibm-acpi-0.7.ebuild,v 1.4 2004/11/15 18:23:37 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/ibm-acpi/ibm-acpi-0.7.ebuild,v 1.5 2004/11/20 11:25:12 brix Exp $
inherit kernel-mod eutils
@@ -21,6 +21,11 @@ DEPEND="virtual/linux-sources
pkg_setup() {
local DIE=0
+ if kernel-mod_is_2_4_kernel
+ then
+ die "${P} does not support kernel 2.4.x"
+ fi
+
if kernel-mod_configoption_present ACPI_IBM
then
eerror ""