mirror of
https://git.freebsd.org/ports.git
synced 2025-05-15 08:41:51 -04:00
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]
19 lines
572 B
Bash
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" "$@"
|