summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Zoffoli <xmerlin@gentoo.org>2006-10-15 10:45:24 +0000
committerChristian Zoffoli <xmerlin@gentoo.org>2006-10-15 10:45:24 +0000
commitc68467918cbd5ce37e232adff3b3064e36aea2bd (patch)
treea6a4ed9b4c4dc9c12babe3bfdb2f4e6c0ad2081b /sys-cluster/cman-kernel/cman-kernel-1.03.00.ebuild
parentStable on ia64. (diff)
downloadgentoo-2-c68467918cbd5ce37e232adff3b3064e36aea2bd.tar.gz
gentoo-2-c68467918cbd5ce37e232adff3b3064e36aea2bd.tar.bz2
gentoo-2-c68467918cbd5ce37e232adff3b3064e36aea2bd.zip
Removed check_KV.
(Portage version: 2.1-r1)
Diffstat (limited to 'sys-cluster/cman-kernel/cman-kernel-1.03.00.ebuild')
-rw-r--r--sys-cluster/cman-kernel/cman-kernel-1.03.00.ebuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys-cluster/cman-kernel/cman-kernel-1.03.00.ebuild b/sys-cluster/cman-kernel/cman-kernel-1.03.00.ebuild
index 5e04a4ae3257..7352dc778d75 100644
--- a/sys-cluster/cman-kernel/cman-kernel-1.03.00.ebuild
+++ b/sys-cluster/cman-kernel/cman-kernel-1.03.00.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cman-kernel/cman-kernel-1.03.00.ebuild,v 1.3 2006/10/14 17:52:06 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cman-kernel/cman-kernel-1.03.00.ebuild,v 1.4 2006/10/15 10:45:24 xmerlin Exp $
inherit linux-mod
@@ -25,10 +25,9 @@ S="${WORKDIR}/${MY_P}/${PN}"
pkg_setup() {
linux-mod_pkg_setup
-
- if kernel_is 2 4; then
- die "${P} supports only 2.6 kernels"
- fi
+ case ${KV_FULL} in
+ 2.2.*|2.4.*) die "${P} supports only 2.6 kernels";;
+ esac
}
src_compile() {