aboutsummaryrefslogtreecommitdiff
path: root/network/pptp/pptp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/pptp/pptp.SlackBuild')
-rw-r--r--network/pptp/pptp.SlackBuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/network/pptp/pptp.SlackBuild b/network/pptp/pptp.SlackBuild
index 907e57d5b4e0..6062eac61335 100644
--- a/network/pptp/pptp.SlackBuild
+++ b/network/pptp/pptp.SlackBuild
@@ -28,12 +28,10 @@ VERSION=${VERSION:-1.8.0}
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
@@ -73,7 +71,7 @@ find . \
-exec chmod 644 {} \;
make IP=/sbin/ip OPTIMIZE="$SLKCFLAGS"
-make install MANDIR=$PKG/usr/man/man8 DESTDIR=$PKG
+make install MANDIR=$PKG/usr/man/man8 DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true