aboutsummaryrefslogtreecommitdiff
path: root/network/xl2tpd/xl2tpd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/xl2tpd/xl2tpd.SlackBuild')
-rw-r--r--network/xl2tpd/xl2tpd.SlackBuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/network/xl2tpd/xl2tpd.SlackBuild b/network/xl2tpd/xl2tpd.SlackBuild
index c3f84672c93e..ea6583de6fdc 100644
--- a/network/xl2tpd/xl2tpd.SlackBuild
+++ b/network/xl2tpd/xl2tpd.SlackBuild
@@ -10,12 +10,10 @@ VERSION=${VERSION:-1.3.2}
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
@@ -64,7 +62,7 @@ sed -i \
# build the program
make
-make install DESTDIR=$PKG
+make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true