From b947df4d0bbaa950eb07cb51e263ae5dd07b932b Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Thu, 28 Dec 2017 22:52:34 +0000 Subject: [PATCH] graphics/mesa-dri: restore surfaceless platform for WAYLAND=on PR: 224659 Approved by: x11 (?) !!! NOT YET !!! --- graphics/mesa-dri/Makefile | 2 +- graphics/mesa-libs/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/graphics/mesa-dri/Makefile b/graphics/mesa-dri/Makefile index 23f3cdc6d250..b3494ce3e23b 100644 --- a/graphics/mesa-dri/Makefile +++ b/graphics/mesa-dri/Makefile @@ -78,7 +78,7 @@ LDFLAGS+= -B${LOCALBASE}/bin # enables VK_KHR_wayland_surface in Vulkan drivers .if ${PORT_OPTIONS:MWAYLAND} -CONFIGURE_ARGS+= --with-platforms=x11,drm,wayland +CONFIGURE_ARGS+= --with-platforms=x11,drm,wayland,surfaceless . if empty(VULKAN_DRIVERS) IGNORE= option WAYLAND is only valid on platforms with Vulkan . endif diff --git a/graphics/mesa-libs/Makefile b/graphics/mesa-libs/Makefile index 7c3dcc1ffc3f..b80b8c3be776 100644 --- a/graphics/mesa-libs/Makefile +++ b/graphics/mesa-libs/Makefile @@ -26,7 +26,7 @@ CONFIGURE_ARGS+= --with-dri-drivers="" --with-gallium-drivers="" # libEGL needs gallium enabled which depends on llvm .if "${MESA_LLVM_VER}" != "" .if ${PORT_OPTIONS:MWAYLAND} -CONFIGURE_ARGS+= --with-platforms=x11,drm,wayland +CONFIGURE_ARGS+= --with-platforms=x11,drm,wayland,surfaceless .else CONFIGURE_ARGS+= --with-platforms=x11,drm .endif