summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dialup/slmodem/slmodem-2.9.10-r2.ebuild')
-rw-r--r--net-dialup/slmodem/slmodem-2.9.10-r2.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/net-dialup/slmodem/slmodem-2.9.10-r2.ebuild b/net-dialup/slmodem/slmodem-2.9.10-r2.ebuild
index 4da6d8c925ad..3e2c7e92f132 100644
--- a/net-dialup/slmodem/slmodem-2.9.10-r2.ebuild
+++ b/net-dialup/slmodem/slmodem-2.9.10-r2.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/net-dialup/slmodem/slmodem-2.9.10-r2.ebuild,v 1.3 2004/12/14 19:03:02 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/slmodem/slmodem-2.9.10-r2.ebuild,v 1.4 2004/12/29 21:54:06 mrness Exp $
inherit eutils linux-info
@@ -21,6 +21,10 @@ RDEPEND="virtual/libc
alsa? ( media-libs/alsa-lib )"
pkg_setup() {
+ if kernel_is ge 2 6 10; then
+ eerror "This package isn't compatible with kernel versions >= 2.6.10!"
+ die "unsupported kernel version"
+ fi
check_modules_supported
}