summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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