git: 0e54d5d3efaa - main - graphics/mesa-devel: unbreak X11=off build

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 29 Jul 2023 03:37:53 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0e54d5d3efaa68144ec4d0e278bcb0dd69cb4ae4

commit 0e54d5d3efaa68144ec4d0e278bcb0dd69cb4ae4
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-07-29 03:31:35 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-07-29 03:34:08 +0000

    graphics/mesa-devel: unbreak X11=off build
    
    meson.build:380:3: ERROR: Feature xlib-lease cannot be enabled: xlib-lease requires X11 and KMS/DRM support
---
 graphics/mesa-devel/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/graphics/mesa-devel/Makefile b/graphics/mesa-devel/Makefile
index db974d99f971..c89279c4c825 100644
--- a/graphics/mesa-devel/Makefile
+++ b/graphics/mesa-devel/Makefile
@@ -147,7 +147,7 @@ WAYLAND_VARS=		PLATFORMS+=wayland
 X11_USES=		xorg
 X11_USE=		XORG=x11,xcb,xdamage,xext,xfixes,xorgproto,xrandr,xshmfence,xxf86vm
 X11_VARS=		PLATFORMS+=x11
-X11_MESON_OFF=		-Dglx=disabled
+X11_MESON_OFF=		-Dglx=disabled -Dxlib-lease=disabled
 
 ZSTD_DESC=		Use ZSTD for shader cache
 ZSTD_LIB_DEPENDS=	libzstd.so:archivers/zstd