aboutsummaryrefslogtreecommitdiff
path: root/libraries/libglpng/libglpng.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libglpng/libglpng.SlackBuild')
-rw-r--r--libraries/libglpng/libglpng.SlackBuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/libraries/libglpng/libglpng.SlackBuild b/libraries/libglpng/libglpng.SlackBuild
index d8cc560c5f697..f59e7a8aeff23 100644
--- a/libraries/libglpng/libglpng.SlackBuild
+++ b/libraries/libglpng/libglpng.SlackBuild
@@ -27,12 +27,10 @@ VERSION=1.45
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
@@ -74,7 +72,7 @@ make install DOCDIR=$PKG/usr/doc/$PRGNAM-$VERSION DESTDIR=$PKG/usr
# The Makefile doesn't make this easy :/
if [ "$ARCH" = "x86_64" ]; then
- mv $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX}
+ mv $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX}
fi
strip --strip-unneeded $PKG/usr/lib${LIBDIRSUFFIX}/* 2> /dev/null || true