diff options
-rw-r--r-- | devel/wayland/platform.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/devel/wayland/platform.mk b/devel/wayland/platform.mk index 5711f39670a..1bd5655981c 100644 --- a/devel/wayland/platform.mk +++ b/devel/wayland/platform.mk @@ -1,13 +1,17 @@ -# $NetBSD: platform.mk,v 1.5 2020/01/04 02:06:02 nia Exp $ +# $NetBSD: platform.mk,v 1.6 2020/03/28 08:58:25 maya Exp $ .if !defined(PLATFORM_SUPPORTS_WAYLAND) . include "../../mk/bsd.fast.prefs.mk" +.include "../../graphics/MesaLib/features.mk" + # Please only add operating systems here after verifying that both # devel/wayland and devel/wayland-protocols build. WAYLAND_PLATFORMS+= Linux-*-* -.if ${OPSYS} == "NetBSD" && empty(OS_VERSION:M[0-8].*) +# We can have Wayland without EGL, but a lot of things expect +# wayland and EGL support together. +.if ${OPSYS} == "NetBSD" && !empty(MESALIB_SUPPORTS_EGL:M[Yy][Ee][Ss]) PLATFORM_SUPPORTS_WAYLAND= yes .endif |