aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2020-06-08 10:49:33 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2020-06-08 10:49:33 +0000
commit5d84b15788f5b54676f3dc19c0d2b0f7e953cda7 (patch)
treea3d400de739263ec3a9b874336cb8d3dc3f277e2 /graphics
parent4d79f6cb4988a7eb9f39b59dd2db4a53ce39b987 (diff)
downloadports-5d84b15788f5b54676f3dc19c0d2b0f7e953cda7.tar.gz
ports-5d84b15788f5b54676f3dc19c0d2b0f7e953cda7.zip
mesa-dri: Add wayland to -Dplatform if option is selected
PR: 247056 Approved by: zeising (x11@ implicit)
Notes
Notes: svn path=/head/; revision=538209
Diffstat (limited to 'graphics')
-rw-r--r--graphics/mesa-dri/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/mesa-dri/Makefile b/graphics/mesa-dri/Makefile
index 57719d24ea03..46ac29b07385 100644
--- a/graphics/mesa-dri/Makefile
+++ b/graphics/mesa-dri/Makefile
@@ -84,9 +84,9 @@ MESA_PLATFORMS+= drm
MESA_PLATFORMS+= surfaceless
.endif
-# .if ${PORT_OPTIONS:MPLATFORM_WAYLAND} && !${PORT_OPTIONS:MWAYLAND}
-# .error "Platform Wayland is selected but Wayland support is disabled"
-# .endif
+.if ${PORT_OPTIONS:MPLATFORM_WAYLAND}
+MESA_PLATFORMS+= wayland
+.endif
MESON_ARGS+= -Ddri-drivers="${DRI_DRIVERS:ts,:tl}" \
-Dgallium-drivers="${GALLIUM_DRIVERS:ts,:tl}" \