Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 189965 | Differences between
and this patch

Collapse All | Expand All

(-)fsam7400-0.5.1.ebuild (-2 / +9 lines)
Lines 19-29 Link Here
19
19
20
BUILD_TARGETS="clean fsam7400.ko"
20
BUILD_TARGETS="clean fsam7400.ko"
21
MODULE_NAMES="fsam7400(net/wireless)"
21
MODULE_NAMES="fsam7400(net/wireless)"
22
CONFIG_CHECK="NET_RADIO"
23
ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-harmradio) & Wireless Extensions (CONFIG_NET_RADIO)."
24
22
25
pkg_setup() {
23
pkg_setup() {
26
	kernel_is lt 2 6 && die "${P} needs a kernel >=2.6"
24
	kernel_is lt 2 6 && die "${P} needs a kernel >=2.6"
25
26
	if kernel_is ge 2 6 22; then
27
		CONFIG_CHECK="WIRELESS_EXT ${CONFIG_CHECK}"
28
		ERROR_NET_RADIO="${P} requires support for Wireless (WIRELESS_EXT)"
29
	else
30
		CONFIG_CHECK="NET_RADIO ${CONFIG_CHECK}"
31
		ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-harmradio) & Wireless Extensions (CONFIG_NET_RADIO)."
32
	fi
33
27
	linux-mod_pkg_setup
34
	linux-mod_pkg_setup
28
}
35
}
29
36

Return to bug 189965