ports/emulators/wine-devel/files/pkg32.sh
Gerald Pfeifer 789fe3db9a emulators/wine-devel: Update to Wine 9.7
This includes the following changes:
 - Some restructuration of the Vulkan driver interface.
 - Some ARM work (which we aren't using yet).
 - Various bug fixes.

Also refine 32-bit ABI determination for WoW64. [1]

PR:		278525 [1]
Submitted by: 	Alexander Vereeken <Alexander88207@protonmail.com> [1]
Reviewed by:	Alex S <iwtcex@gmail.com> [1]
2024-05-09 06:44:59 +00:00

19 lines
572 B
Bash

#!/bin/sh -e
if [ "$(id -u)" = 0 ]
then
echo "Don't run this script as root!"
exit 1
fi
I386_ROOT="${WINE_i386_ROOT:-$HOME/.i386-wine-pkg}"
if [ ! -d "$I386_ROOT/usr/share/keys/pkg" ]
then
mkdir -p "$I386_ROOT/usr/share/keys"
ln -s /usr/share/keys/pkg "$I386_ROOT/usr/share/keys/pkg"
fi
# Show what we're going to do, then do it.
echo pkg -o ABI_FILE=/usr/lib32/libc.so.7 -o INSTALL_AS_USER=true -o RUN_SCRIPTS=false --rootdir "$I386_ROOT" "$@"
exec pkg -o ABI_FILE=/usr/lib32/libc.so.7 -o INSTALL_AS_USER=true -o RUN_SCRIPTS=false --rootdir "$I386_ROOT" "$@"