aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex S <iwtcex@gmail.com>2021-10-25 11:45:55 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2021-10-25 14:31:53 +0000
commit48fcd1c22641393f82f4625da8729d280d614714 (patch)
treeedf94727a4919d3736b98ac23ef0531022c29400
parent41314f4bbeed4893189a4c61d69f29eb863aeac1 (diff)
downloadports-48fcd1c22641393f82f4625da8729d280d614714.tar.gz
ports-48fcd1c22641393f82f4625da8729d280d614714.zip
emulators/wine-devel: Point Vulkan loader at 32-bit Mesa libs
PR: 259211 Approved by: Damjan Jovanovic <damjan.jov@gmail.com> (maintainer)
-rw-r--r--emulators/wine-devel/Makefile2
-rw-r--r--emulators/wine-devel/files/wine-wow64.sh5
2 files changed, 5 insertions, 2 deletions
diff --git a/emulators/wine-devel/Makefile b/emulators/wine-devel/Makefile
index cc6d1027d0cf..16caa1a462b6 100644
--- a/emulators/wine-devel/Makefile
+++ b/emulators/wine-devel/Makefile
@@ -2,7 +2,7 @@
PORTNAME= wine
DISTVERSION= 6.19
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= emulators
MASTER_SITES= SF/${PORTNAME}/Source \
diff --git a/emulators/wine-devel/files/wine-wow64.sh b/emulators/wine-devel/files/wine-wow64.sh
index e24bc30e1b78..a7b1efba17cc 100644
--- a/emulators/wine-devel/files/wine-wow64.sh
+++ b/emulators/wine-devel/files/wine-wow64.sh
@@ -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