aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2024-01-06 07:58:29 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-01-06 08:08:37 +0700
commit9841a2657384793555f6aaa61c808db97563d899 (patch)
tree594455263ab52d81367fdac06f586272ca6eb6b2 /games
parente3fa6ee4196ff57a9aff843d81fbdc6ec6b42a99 (diff)
games/blupimania: Fix 32bit build.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/blupimania/blupimania.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/blupimania/blupimania.SlackBuild b/games/blupimania/blupimania.SlackBuild
index a1ea62410f6e..95a6606f7d78 100644
--- a/games/blupimania/blupimania.SlackBuild
+++ b/games/blupimania/blupimania.SlackBuild
@@ -169,7 +169,7 @@ popd
## End of SDL2 block
BMDIR=$PKG/usr/share/blupimania
-cp $WORKDIR/install/lib64/*.so* $BMDIR
+cp $WORKDIR/install/lib$LIBDIRSUFFIX/*.so* $BMDIR
# blupimania expects to find its files in (binary path)/../share/blupimania
# Hence we are installing blupimania binary in /usr/libexec
# and a shell wrapper in /usr/games.
@@ -182,8 +182,8 @@ exec "$BINDIR/blupimania" "\$@"
EOF
chmod 755 $PKG/usr/games/blupimania
-export SDL2_image_DIR=$WORKDIR/install/lib64/cmake/SDL2_image
-export SDL2_mixer_DIR=$WORKDIR/install/lib64/cmake/SDL2_mixer
+export SDL2_image_DIR=$WORKDIR/install/lib$LIBDIRSUFFIX/cmake/SDL2_image
+export SDL2_mixer_DIR=$WORKDIR/install/lib$LIBDIRSUFFIX/cmake/SDL2_mixer
SLKCFLAGS="${SLKCFLAGS} -L$BMDIR -iquote${WORKDIR}/install/include/SDL2"
export CMAKE_INSTALL_PREFIX=${WORKDIR}/install
mkdir -p build