Index: graphics/mesa-dri/Makefile =================================================================== --- graphics/mesa-dri/Makefile (revision 538019) +++ graphics/mesa-dri/Makefile (working copy) @@ -78,6 +78,8 @@ # enables VK_KHR_wayland_surface in Vulkan drivers .if ${PORT_OPTIONS:MWAYLAND} && !empty(VULKAN_DRIVERS) MESON_ARGS+= -Dplatforms=x11,surfaceless,drm,wayland +.else +MESON_ARGS+= -Dplatforms=x11,surfaceless,drm .endif MESON_ARGS+= -Ddri-drivers="${DRI_DRIVERS:ts,:tl}" \ Index: graphics/mesa-libs/Makefile =================================================================== --- graphics/mesa-libs/Makefile (revision 538019) +++ graphics/mesa-libs/Makefile (working copy) @@ -42,6 +42,8 @@ .if ${PORT_OPTIONS:MWAYLAND} MESON_ARGS+= -Dplatforms=x11,surfaceless,drm,wayland +.else +MESON_ARGS+= -Dplatforms=x11,surfaceless,drm .endif .if ${ARCH} == "i386"