mirror of
https://git.freebsd.org/ports.git
synced 2025-07-05 03:19:18 -04:00
Wine 8 has been released late last year and we have not seen corresponding updates to wine-devel and the main wine port yet, partly because there's unresolved breakage on FreeBSD/i386. To unstall the situation, create emulators/wine7 as a clone of emulators/wine for those who want/need that version. This will allow moving the latter forward. PR: 272710, 271201 Suggested by: lwhsu
14 lines
276 B
Bash
14 lines
276 B
Bash
#!/bin/sh
|
|
|
|
TARGET="$(realpath "$0")"
|
|
|
|
if [ -z "$WINESERVER" ] && [ -f "${TARGET}server32" ]
|
|
then
|
|
export WINESERVER="${TARGET}server32"
|
|
fi
|
|
|
|
# Workaround for https://bugs.winehq.org/show_bug.cgi?id=50257
|
|
export LD_BIND_NOW=1
|
|
export LD_32_BIND_NOW=1
|
|
|
|
exec "${TARGET}.bin" "$@"
|