summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre17-r1.ebuild')
-rw-r--r--net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre17-r1.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre17-r1.ebuild b/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre17-r1.ebuild
index d78747e3bdde..39333ac057df 100644
--- a/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre17-r1.ebuild
+++ b/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre17-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre17-r1.ebuild,v 1.3 2004/02/29 22:47:54 latexer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre17-r1.ebuild,v 1.4 2004/06/15 03:16:17 agriffis Exp $
inherit pcmcia kernel-mod
@@ -66,7 +66,7 @@ src_compile() {
-e 's:PRISM2_PCI=n:PRISM2_PCI=y:' \
config.in
- if [ -n "`use pcmcia`" ]; then
+ if use pcmcia; then
if [ -n "${PCMCIA_SOURCE_DIR}" ];
then
export PCMCIA_SOURCE_DIR=${PCMCIA_SOURCE_DIR}
@@ -80,7 +80,7 @@ src_compile() {
config.in
fi
- if [ -n "`use usb`" ]; then
+ if use usb; then
sed -i -e 's:PRISM2_USB=n:PRISM2_USB=y:' \
config.in
fi
@@ -111,7 +111,7 @@ src_install () {
dodir etc/wlan
mv ${D}/etc/conf.d/shared ${D}/etc/wlan/
- if [ -z "`use build`" ]; then
+ if ! use build; then
dodir /usr/share/man/man1
newman ${S}/man/nwepgen.man nwepgen.1