1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

emulators/wine-devel: Point Vulkan loader at 32-bit Mesa libs

PR:		259211
Approved by:	Damjan Jovanovic <damjan.jov@gmail.com> (maintainer)
This commit is contained in:
Alex S 2021-10-25 11:45:55 +00:00 committed by Gerald Pfeifer
parent 41314f4bbe
commit 48fcd1c226
2 changed files with 5 additions and 2 deletions
emulators/wine-devel

View File

@ -2,7 +2,7 @@
PORTNAME= wine
DISTVERSION= 6.19
PORTREVISION= 1
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= emulators
MASTER_SITES= SF/${PORTNAME}/Source \

View File

@ -24,7 +24,6 @@ fi
export LIBGL_DRIVERS_PATH="${LIBGL_DRIVERS_PATH:+$LIBGL_DRIVERS_PATH:}$LOCALBASE/lib/dri:$LOCALBASE/lib32/dri:$I386_ROOT/$LOCALBASE/lib/dri"
export LD_32_LIBRARY_PATH="${LD_32_LIBRARY_PATH:+$LD_32_LIBRARY_PATH:}$I386_ROOT/$PREFIX/lib/wine:$LOCALBASE/lib32:$I386_ROOT/$LOCALBASE/lib"
for d in "$I386_ROOT/$LOCALBASE"/llvm*/lib
do
if [ -d "$d" ]
@ -33,6 +32,10 @@ do
fi
done
export LD_32_LIBRARY_PATH_RPATH=y
export LD_32_LIBMAP="
$LOCALBASE/lib/libvulkan_intel.so $I386_ROOT/$LOCALBASE/lib/libvulkan_intel.so
$LOCALBASE/lib/libvulkan_radeon.so $I386_ROOT/$LOCALBASE/lib/libvulkan_radeon.so
$LD_32_LIBMAP"
if [ -z "$WINE_NO_WOW64" ]
then