aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2023-02-03 21:56:41 +0000
committerJan Beich <jbeich@FreeBSD.org>2023-02-06 14:54:38 +0000
commitbc572c0c0edaa5a21a7df61f90fcea4b8b6eaab7 (patch)
tree12332e015985ebdc67b7a8c95999ecb6b7827214
parentc22df272f824eebdc198fea17960e7c7f19c7a39 (diff)
downloadports-bc572c0c0edaa5a21a7df61f90fcea4b8b6eaab7.tar.gz
ports-bc572c0c0edaa5a21a7df61f90fcea4b8b6eaab7.zip
graphics/mesa-devel: depend on mesa-dri for EGL/Vulkan ICD
Some users get confused and try to remove mesa-dri only to break Vulkan. However, removing mesa-dri is only supported when mesa-devel is built in standalone mode (DEFAULT_VERSIONS+=gl=mesa-devel). $ pkg delete -f mesa-dri $ vkcube-xcb vkEnumerateInstanceExtensionProperties failed to find the VK_KHR_surface extension. Do you have a compatible Vulkan installable client driver (ICD) installed? Please look at the Getting Started guide for additional information.
-rw-r--r--graphics/mesa-devel/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/mesa-devel/Makefile b/graphics/mesa-devel/Makefile
index 630933e148f1..2ad3021005f6 100644
--- a/graphics/mesa-devel/Makefile
+++ b/graphics/mesa-devel/Makefile
@@ -1,6 +1,7 @@
PORTNAME= mesa
DISTVERSION= 23.0-branchpoint-990
DISTVERSIONSUFFIX= -gea413e826b2
+PORTREVISION= 1
CATEGORIES= graphics
PKGNAMESUFFIX= -devel
@@ -83,6 +84,7 @@ radv_BUILD_DEPENDS= glslangValidator:graphics/glslang
COINST_DESC= Allow co-installation with another Mesa port
COINST_MESON_ON= -Degl-lib-suffix=${PKGNAMESUFFIX}
+COINST_RUN_DEPENDS= ${LOCALBASE}/share/glvnd/egl_vendor.d/50_${PORTNAME}.json:graphics/mesa-dri
COINST_PLIST_SUB= SUFFIX=${PKGNAMESUFFIX}
COINST_SUB_FILES= libmap.conf
COINST_SUB_LIST= SUFFIX=${PKGNAMESUFFIX}