git: 6a1b0c432c8c - main - graphics/mesa-gallium-{va,vdpau}: Fix when X11 option is off

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Wed, 22 Nov 2023 11:16:02 UTC
The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6a1b0c432c8ce215896a31c4dfcb09b62a2cac1f

commit 6a1b0c432c8ce215896a31c4dfcb09b62a2cac1f
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2023-11-22 10:44:05 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2023-11-22 11:15:57 +0000

    graphics/mesa-gallium-{va,vdpau}: Fix when X11 option is off
    
    PR:     260703
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
---
 graphics/mesa-gallium-va/Makefile    | 5 ++++-
 graphics/mesa-gallium-vdpau/Makefile | 4 +++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/graphics/mesa-gallium-va/Makefile b/graphics/mesa-gallium-va/Makefile
index 250d943c2f56..91a565557ce9 100644
--- a/graphics/mesa-gallium-va/Makefile
+++ b/graphics/mesa-gallium-va/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	mesa-gallium-va
 PORTVERSION=	${MESAVERSION}
+PORTREVISION=	1
 CATEGORIES=	graphics
 
 COMMENT=	Mesa Gallium VAAPI drivers
@@ -54,7 +55,9 @@ MESON_ARGS+=	-Dplatforms="x11"
 MESON_ARGS+=	-Dglx=disabled \
 		-Degl=disabled \
 		-Dopengl=false \
-		-Dshared-glapi=disabled
+		-Dshared-glapi=disabled \
+		-Dxlib-lease=disabled \
+		-Dplatforms=""
 .endif
 
 .include "${MASTERDIR}/Makefile.targets"
diff --git a/graphics/mesa-gallium-vdpau/Makefile b/graphics/mesa-gallium-vdpau/Makefile
index 067bf93d3fd6..43cf846da711 100644
--- a/graphics/mesa-gallium-vdpau/Makefile
+++ b/graphics/mesa-gallium-vdpau/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	mesa-gallium-vdpau
 PORTVERSION=	${MESAVERSION}
+PORTREVISION=	1
 CATEGORIES=	graphics
 
 COMMENT=	Mesa Gallium VDPAU drivers
@@ -53,7 +54,8 @@ MESON_ARGS+=	-Dplatforms="x11"
 MESON_ARGS+=	-Dglx=disabled \
 		-Degl=disabled \
 		-Dopengl=false \
-		-Dshared-glapi=disabled
+		-Dshared-glapi=disabled \
+		-Dplatforms=""
 .endif
 
 .include "${MASTERDIR}/Makefile.targets"