summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Vereeken <Alexander88207@protonmail.com>2024-05-07 05:50:47 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2024-05-07 05:50:48 +0000
commit78a29f61b9f34f96a7138c42440cc060098f9dbf (patch)
tree730f92e499e9b99a23440144a53781c592b159d4
parentnet-mgmt/netbox: Update to 3.7.8 (diff)
emulators/wine: Refine WoW64 32-bit ABI determination
PR: 278525 Reported by: Eduardo C. <idude0407@gmail.com> Reviewed by: Alex S <iwtcex@gmail.com>
-rw-r--r--emulators/wine/Makefile1
-rw-r--r--emulators/wine/files/pkg32.sh5
2 files changed, 3 insertions, 3 deletions
diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile
index fa6ede914aab..f4e6d8dd9ecf 100644
--- a/emulators/wine/Makefile
+++ b/emulators/wine/Makefile
@@ -1,5 +1,6 @@
PORTNAME= wine
DISTVERSION= 9.0
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= emulators
MASTER_SITES= https://dl.winehq.org/wine/source/9.0/
diff --git a/emulators/wine/files/pkg32.sh b/emulators/wine/files/pkg32.sh
index d75422997e12..64d82459c219 100644
--- a/emulators/wine/files/pkg32.sh
+++ b/emulators/wine/files/pkg32.sh
@@ -14,7 +14,6 @@ then
ln -s /usr/share/keys/pkg "$I386_ROOT/usr/share/keys/pkg"
fi
-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" "$@"
+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" "$@"