aboutsummaryrefslogtreecommitdiff
path: root/multimedia/Gem/Gem.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/Gem/Gem.SlackBuild')
-rw-r--r--multimedia/Gem/Gem.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/multimedia/Gem/Gem.SlackBuild b/multimedia/Gem/Gem.SlackBuild
index 550c902ed406..16a4e081f64a 100644
--- a/multimedia/Gem/Gem.SlackBuild
+++ b/multimedia/Gem/Gem.SlackBuild
@@ -95,7 +95,9 @@ make
# will go to $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM
make install-strip DESTDIR=$PKG
-mv $PKG/usr/lib/pkgconfig $PKG/usr/lib$LIBDIRSUFFIX
+if [ -n "$LIBDIRSUFFIX" ] ; then
+ mv $PKG/usr/lib/pkgconfig $PKG/usr/lib$LIBDIRSUFFIX
+fi
rmdir $PKG/usr/lib 2>/dev/null || true # does nothing on 32-bit.
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION