1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

emulators/wine: Fix up pkg32.sh

In my original commit I missed the last line actually invoking pkg.
Fix this up and add a comment above.

PR:		257284
Reported by:	Alex S <iwtcex@gmail.com>
This commit is contained in:
Gerald Pfeifer 2021-07-26 09:53:22 +00:00
parent 572f9a37ba
commit ad15b0e748
2 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,7 @@
PORTNAME= wine
DISTVERSION= 6.0.1
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= emulators
MASTER_SITES= SF/${PORTNAME}/Source \

View File

@ -10,4 +10,6 @@ I386_ROOT="${WINE_i386_ROOT:-$HOME/.i386-wine-pkg}"
mkdir -p "$I386_ROOT"
ABI=$(pkg config ABI | sed s/amd64/i386/)
# Show what we're going to do, then do it.
echo pkg -o ABI="$ABI" -o INSTALL_AS_USER=true -o RUN_SCRIPTS=false --rootdir "$I386_ROOT" "$@"
exec pkg -o ABI="$ABI" -o INSTALL_AS_USER=true -o RUN_SCRIPTS=false --rootdir "$I386_ROOT" "$@"