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
commite9d4b0fc24aa2b4ac0c9a15636ceb5b218f306ad (patch)
treef1c20f38818558778de078803b9a2149d350fc99 /net-wireless
parentStable on IA64. (diff)
downloadhistorical-e9d4b0fc24aa2b4ac0c9a15636ceb5b218f306ad.tar.gz
historical-e9d4b0fc24aa2b4ac0c9a15636ceb5b218f306ad.tar.bz2
historical-e9d4b0fc24aa2b4ac0c9a15636ceb5b218f306ad.zip
Check for kernel version.
Package-Manager: portage-2.1.2_rc4-r6
Diffstat (limited to 'net-wireless')
-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}"
}