summaryrefslogtreecommitdiffstats
path: root/network/airpwn/airpwn.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/airpwn/airpwn.SlackBuild')
-rw-r--r--network/airpwn/airpwn.SlackBuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/network/airpwn/airpwn.SlackBuild b/network/airpwn/airpwn.SlackBuild
index a2ed6189cd..0d02450ffd 100644
--- a/network/airpwn/airpwn.SlackBuild
+++ b/network/airpwn/airpwn.SlackBuild
@@ -9,12 +9,10 @@ VERSION=${VERSION:-1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -100,7 +98,7 @@ CPPFLAGS="-I${PKG}/usr/include" \
--build=$ARCH-slackware-linux
# fix what libs we link to
-sed -i 's/-lnet/-lnet -lssl -lexpat -lcrypto/' Makefile
+sed -i 's/-lnet/-lnet -lssl -lexpat -lcrypto/' Makefile
# build airpwn
make