Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jul 2021 09:56:21 GMT
From:      Gerald Pfeifer <gerald@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ad15b0e748b6 - main - emulators/wine: Fix up pkg32.sh
Message-ID:  <202107260956.16Q9uL95096007@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by gerald:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ad15b0e748b6bd93ef1e36b1c605c1da29d10565

commit ad15b0e748b6bd93ef1e36b1c605c1da29d10565
Author:     Gerald Pfeifer <gerald@FreeBSD.org>
AuthorDate: 2021-07-26 09:53:22 +0000
Commit:     Gerald Pfeifer <gerald@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@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" "$@"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107260956.16Q9uL95096007>