aboutsummaryrefslogtreecommitdiff
path: root/emulators/wine
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2022-02-01 07:18:04 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2022-02-01 07:32:13 +0000
commit9dc3d307de26ebb3ee31859fed8cc9dbc779dff5 (patch)
treeecb7e756ff5a2bf58ec7185c65c62e5ec323cded /emulators/wine
parentd1c4459bf144a250acb911731859e74bfcf1a547 (diff)
downloadports-9dc3d307de26ebb3ee31859fed8cc9dbc779dff5.tar.gz
ports-9dc3d307de26ebb3ee31859fed8cc9dbc779dff5.zip
emulators/wine: Add a note on Poudriere in the WoW case
PR: 260407 Reported by: Zane C. Bowers-Hadley <vvelox@vvelox.net>
Diffstat (limited to 'emulators/wine')
-rw-r--r--emulators/wine/files/wine-wow64.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/emulators/wine/files/wine-wow64.sh b/emulators/wine/files/wine-wow64.sh
index 2ec4cc31703e..796f26787c8c 100644
--- a/emulators/wine/files/wine-wow64.sh
+++ b/emulators/wine/files/wine-wow64.sh
@@ -10,6 +10,16 @@ if [ ! -f "$I386_ROOT/$PREFIX/bin/wine" ]
then
printf "%s doesn't exist!\n\n" "$I386_ROOT/$PREFIX/bin/wine"
printf "Try installing 32-bit Wine with\n\t%s\n" "$PREFIX/share/wine/pkg32.sh install wine mesa-dri"
+ ABI=$(pkg config ABI | sed s/amd64/i386/)
+ FREEBSD_VERSION_MAJOR=`uname -r | sed "s/\..*//"`
+ cat <<- HERE
+
+ If using Poudriere, please make sure your repo is setup to use ${ABI}
+ and create symlinks for
+ FreeBSD:$FREEBSD_VERSION_MAJOR:amd64 and
+ FreeBSD:$FREEBSD_VERSION_MAJOR:i386
+ to the relevant output directories. See pkg.conf(5) for more info.
+HERE
exit 1
fi