summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
author B. Watson2022-03-18 23:42:38 +0100
committer Willy Sudiarto Raharjo2022-03-20 14:45:15 +0100
commite4f1ac80eac1e428cdfd08dd17e288fd65a07b1b (patch)
tree71d06baddcb1e15e34d837a7057a47bbc29d2bf8 /graphics
parent29a147183c9b10521062294ad2a6f1969df6e870 (diff)
downloadslackbuilds-e4f1ac80eac1e428cdfd08dd17e288fd65a07b1b.tar.gz
graphics/mozjpeg: Fix 32-bit build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-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 b31bbab2f5..8c18569b60 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