aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-03-23 00:31:37 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-26 01:20:17 +0700
commit238dbc5c95a5b37356ae191b45d7139f974aab77 (patch)
tree91c3ad929b88b38ecd2333df6c1bfc01611e1964 /multimedia
parent37083a32794c1d57b7153083629e5a0637b6129c (diff)
multimedia/Gem: Fix build on 32bit.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-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