summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2007-01-08 20:35:35 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2007-01-08 20:35:35 +0000
commit0dbc78981994a0077a44e53fa66046fdf6b58b01 (patch)
tree6baada276020de5100ed23589cabf4ccb124b3f3 /net-wireless/ipw3945
parentStable on IA64. (diff)
downloadgentoo-2-0dbc78981994a0077a44e53fa66046fdf6b58b01.tar.gz
gentoo-2-0dbc78981994a0077a44e53fa66046fdf6b58b01.tar.bz2
gentoo-2-0dbc78981994a0077a44e53fa66046fdf6b58b01.zip
Check for kernel version.
(Portage version: 2.1.2_rc4-r6)
Diffstat (limited to 'net-wireless/ipw3945')
-rw-r--r--net-wireless/ipw3945/ChangeLog6
-rw-r--r--net-wireless/ipw3945/ipw3945-1.1.3-r2.ebuild6
2 files changed, 10 insertions, 2 deletions
diff --git a/net-wireless/ipw3945/ChangeLog b/net-wireless/ipw3945/ChangeLog
index 1598e08b417a..0237328741ae 100644
--- a/net-wireless/ipw3945/ChangeLog
+++ b/net-wireless/ipw3945/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-wireless/ipw3945
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945/ChangeLog,v 1.18 2007/01/08 20:33:28 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945/ChangeLog,v 1.19 2007/01/08 20:35:35 robbat2 Exp $
+
+ 08 Jan 2007; Robin H. Johnson <robbat2@gentoo.org>
+ -ipw3945-1.1.3-r1.ebuild, ipw3945-1.1.3-r2.ebuild:
+ Check for kernel version.
*ipw3945-1.1.3-r2 (08 Jan 2007)
diff --git a/net-wireless/ipw3945/ipw3945-1.1.3-r2.ebuild b/net-wireless/ipw3945/ipw3945-1.1.3-r2.ebuild
index 824c0ddf2ea6..864a27c96211 100644
--- a/net-wireless/ipw3945/ipw3945-1.1.3-r2.ebuild
+++ b/net-wireless/ipw3945/ipw3945-1.1.3-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945/ipw3945-1.1.3-r2.ebuild,v 1.1 2007/01/08 20:33:28 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945/ipw3945-1.1.3-r2.ebuild,v 1.2 2007/01/08 20:35:35 robbat2 Exp $
inherit linux-mod eutils
@@ -42,6 +42,10 @@ pkg_setup() {
if kernel_is 2 4; then
die "${P} does not support building against kernel 2.4.x"
fi
+ if kernel_is lt 2 6 19; then
+ die "${P} needs a kernel >=2.6.19! Please set your \
+ KERNEL_DIR or /usr/src/linux suitably"
+ fi
BUILD_PARAMS="KSRC=${KV_DIR} KSRC_OUTPUT=${KV_OUT_DIR}"
}