summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster/dlm-kernel/dlm-kernel-2.6.9.ebuild')
-rw-r--r--sys-cluster/dlm-kernel/dlm-kernel-2.6.9.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys-cluster/dlm-kernel/dlm-kernel-2.6.9.ebuild b/sys-cluster/dlm-kernel/dlm-kernel-2.6.9.ebuild
index 3a7b694094f0..f34b67d540fa 100644
--- a/sys-cluster/dlm-kernel/dlm-kernel-2.6.9.ebuild
+++ b/sys-cluster/dlm-kernel/dlm-kernel-2.6.9.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/dlm-kernel/dlm-kernel-2.6.9.ebuild,v 1.3 2005/01/27 18:12:56 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/dlm-kernel/dlm-kernel-2.6.9.ebuild,v 1.4 2005/03/09 17:40:20 xmerlin Exp $
-inherit eutils linux-mod check-kernel
+inherit eutils linux-mod
MY_PV="${PV}-0"
MY_P="${PN}-${MY_PV}"
@@ -23,8 +23,7 @@ RDEPEND=""
S="${WORKDIR}/${MY_P}"
pkg_setup() {
- if is_2_4_kernel || is_2_5_kernel
- then
+ if kernel_is 2 4; then
die "${P} supports only 2.6 kernels"
fi
}