From e4f1ac80eac1e428cdfd08dd17e288fd65a07b1b Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 18 Mar 2022 18:42:38 -0400 Subject: graphics/mozjpeg: Fix 32-bit build. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- graphics/mozjpeg/mozjpeg.SlackBuild | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- cgit v1.2.3