git: d7b48d44246e - main - graphics/mesa-devel: unbreak with --auto-features=enabled

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 20 Mar 2023 17:16:26 UTC
The branch main has been updated by jbeich:

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

commit d7b48d44246e59b72db35c306ae31a509982abd9
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-03-20 17:07:05 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-03-20 17:16:03 +0000

    graphics/mesa-devel: unbreak with --auto-features=enabled
    
    meson.build:792:0: ERROR: Feature android-libbacktrace cannot be enabled: `-D android-libbacktrace=enabled` makes no sense without `-D platforms=android`
    meson.build:1783:0: ERROR: Dependency "valgrind" not found, tried pkgconfig
    meson.build:2018:0: ERROR: C shared or static library 'sensors' not found
    
    PR:             270361
---
 graphics/mesa-devel/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/graphics/mesa-devel/Makefile b/graphics/mesa-devel/Makefile
index 2a2289bd6a26..6f49080c3e61 100644
--- a/graphics/mesa-devel/Makefile
+++ b/graphics/mesa-devel/Makefile
@@ -37,6 +37,9 @@ BINARY_ALIAS=	python=${PYTHON_CMD}
 SHEBANG_FILES=	src/vulkan/overlay-layer/${PORTNAME}-overlay-control.py
 MESON_ARGS=	-Dgallium-omx=disabled \
 		-Dgallium-xa=disabled \
+		-Dandroid-libbacktrace=disabled \
+		-Dlmsensors=disabled \
+		-Dvalgrind=disabled \
 		-Dglvnd=true \
 		-Dplatforms=${PLATFORMS:O:[-1..1]:ts,} \
 		${NULL}