git: ad15b0e748b6 - main - emulators/wine: Fix up pkg32.sh
Gerald Pfeifer
gerald at FreeBSD.org
Mon Jul 26 09:56:22 UTC 2021
The branch main has been updated by gerald:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ad15b0e748b6bd93ef1e36b1c605c1da29d10565
commit ad15b0e748b6bd93ef1e36b1c605c1da29d10565
Author: Gerald Pfeifer <gerald at FreeBSD.org>
AuthorDate: 2021-07-26 09:53:22 +0000
Commit: Gerald Pfeifer <gerald at FreeBSD.org>
CommitDate: 2021-07-26 09:56:08 +0000
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 at gmail.com>
---
emulators/wine/Makefile | 1 +
emulators/wine/pkg32.sh | 2 ++
2 files changed, 3 insertions(+)
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" "$@"
More information about the dev-commits-ports-all
mailing list