- printf "On FreeBSD 15, use wine64.bin if 32-bit support is not needed.\n"
- printf "If 32-bit is needed, either use the repository from FreeBSD 14 with this command:\n\t%s\n" "$PREFIX/share/wine/pkg32.sh --old install -r FreeBSD-ports wine-devel mesa-dri"
- printf "or use Poudriere to build your own packages.\n"
-
- 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
-
-# Export early so that external 32-bit libs are found.