summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/linux-wlan-ng-modules/linux-wlan-ng-modules-0.2.2.ebuild')
-rw-r--r--net-wireless/linux-wlan-ng-modules/linux-wlan-ng-modules-0.2.2.ebuild18
1 files changed, 9 insertions, 9 deletions
diff --git a/net-wireless/linux-wlan-ng-modules/linux-wlan-ng-modules-0.2.2.ebuild b/net-wireless/linux-wlan-ng-modules/linux-wlan-ng-modules-0.2.2.ebuild
index 2479d02..d4d6f29 100644
--- a/net-wireless/linux-wlan-ng-modules/linux-wlan-ng-modules-0.2.2.ebuild
+++ b/net-wireless/linux-wlan-ng-modules/linux-wlan-ng-modules-0.2.2.ebuild
@@ -22,11 +22,11 @@ BUILD_PARAMS="WLAN_SRC=${S}/src"
pkg_setup() {
MODULE_NAMES="p80211(net/wireless:${S}/src/p80211)"
-
+
if use pci; then
MODULE_NAMES="${MODULES_NAMES} prism2_pci(net/wireless:${S}/src/prism2/driver)"
fi
-
+
if use plx; then
MODULE_NAMES="${MODULES_NAMES} prism2_plx(net/wireless:${S}/src/prism2/driver)"
fi
@@ -57,10 +57,10 @@ src_unpack() {
local config=${S}/default.config
unpack ${A}
-
+
cd ${S}
epatch ${FILESDIR}/${MY_P}-module_param.patch
-
+
cp ${S}/config.in ${config}
echo "TARGET_ROOT_ON_HOST=${D}" >> ${config}
@@ -71,16 +71,16 @@ src_unpack() {
echo "PCMCIA_SRC=${PCMCIA_SOURCE_DIR}" >> ${config}
fi
- config_by_usevar PRISM2_USB usb
- config_by_usevar PRISM2_PCI pci
+ config_by_usevar PRISM2_USB usb
+ config_by_usevar PRISM2_PCI pci
config_by_usevar PRISM2_PLX plx
config_by_usevar PRISM2_PCMCIA pcmcia
config_by_usevar WLAN_DEBUG debug
-
+
if kernel_is gt 2 4; then
echo "KERN_25=y" >> ${config}
fi
-
+
sed -i -e "s:dep modules:modules:" ${S}/src/p80211/Makefile
}
@@ -88,7 +88,7 @@ src_compile() {
set_arch_to_kernel
emake default_config || die "emake default_config failed"
set_arch_to_portage
-
+
cd ${S}/src/mkmeta
emake || die "emake mkmeta failed"