aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-03-18 18:42:38 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-20 20:45:15 +0700
commite4f1ac80eac1e428cdfd08dd17e288fd65a07b1b (patch)
tree71d06baddcb1e15e34d837a7057a47bbc29d2bf8
parent29a147183c9b10521062294ad2a6f1969df6e870 (diff)
graphics/mozjpeg: Fix 32-bit build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--graphics/mozjpeg/mozjpeg.SlackBuild10
1 files changed, 10 insertions, 0 deletions
diff --git a/graphics/mozjpeg/mozjpeg.SlackBuild b/graphics/mozjpeg/mozjpeg.SlackBuild
index b31bbab2f502..8c18569b606b 100644
--- a/graphics/mozjpeg/mozjpeg.SlackBuild
+++ b/graphics/mozjpeg/mozjpeg.SlackBuild
@@ -7,6 +7,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20220318 bkw: fix 32-bit lib vs. lib32 install path mess.
+
# 20210909 bkw: relicense as WTFPL, w/permission from original author.
# 20210310 bkw: update for v4.0.3.
@@ -135,6 +137,14 @@ cd build
make install/strip DESTDIR=$PKG
cd ..
+# Grr.
+if [ -e $PKG/opt/$PRGNAM/lib32 ]; then
+ cd $PKG/opt/$PRGNAM
+ mv lib32 lib
+ ln -s lib lib32
+ cd -
+fi
+
# Slackware has these man pages already.
rm -rf $PKG/opt/$PRGNAM/man