summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/ieee80211/ieee80211-1.1.8.ebuild')
-rw-r--r--net-wireless/ieee80211/ieee80211-1.1.8.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/net-wireless/ieee80211/ieee80211-1.1.8.ebuild b/net-wireless/ieee80211/ieee80211-1.1.8.ebuild
index 4d9c52053ae8..c580dbb61f20 100644
--- a/net-wireless/ieee80211/ieee80211-1.1.8.ebuild
+++ b/net-wireless/ieee80211/ieee80211-1.1.8.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/net-wireless/ieee80211/ieee80211-1.1.8.ebuild,v 1.3 2006/01/11 12:28:56 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ieee80211/ieee80211-1.1.8.ebuild,v 1.4 2006/02/01 21:25:34 brix Exp $
inherit eutils linux-mod
@@ -43,7 +43,8 @@ pkg_setup() {
fi
if [[ -f ${KV_DIR}/include/net/ieee80211.h ]] || \
- [[ -f ${KV_DIR}/include/config/ieee80211.h ]]; then
+ [[ -f ${KV_DIR}/include/config/ieee80211.h ]] || \
+ egrep -q "^#(un)?def.*(CONFIG_IEEE80211.*)" ${KV_DIR}/include/linux/autoconf.h; then
eerror
eerror "Your kernel source contains an incompatible version of the"
eerror "ieee80211 subsystem, which needs to be removed before"