summaryrefslogtreecommitdiff
path: root/emulators/wine
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2021-07-26 09:53:22 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2021-07-26 09:56:08 +0000
commitad15b0e748b6bd93ef1e36b1c605c1da29d10565 (patch)
tree96b894ab1bc4bb87577148a007bbf2cd59ec1f23 /emulators/wine
parentwww/osrm-backend: Update to 5.25.0 (diff)
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>
Diffstat (limited to 'emulators/wine')
-rw-r--r--emulators/wine/Makefile1
-rw-r--r--emulators/wine/pkg32.sh2
2 files changed, 3 insertions, 0 deletions
diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile
index 7af4e43d8a44..6386fa7b18b8 100644
--- a/emulators/wine/Makefile
+++ b/emulators/wine/Makefile
@@ -2,6 +2,7 @@
PORTNAME= wine
DISTVERSION= 6.0.1
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= emulators
MASTER_SITES= SF/${PORTNAME}/Source \
diff --git a/emulators/wine/pkg32.sh b/emulators/wine/pkg32.sh
index a26ee5b5d7f6..267fb8b38ca4 100644
--- a/emulators/wine/pkg32.sh
+++ b/emulators/wine/pkg32.sh
@@ -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" "$@"