git: 4aa04643b80e - main - x11/waybar: unbreak with --auto-features=enabled

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

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

commit 4aa04643b80ee39a9830d614a0ddf1bc1ad6a142
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-03-20 19:48:42 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-03-20 19:58:59 +0000

    x11/waybar: unbreak with --auto-features=enabled
    
    meson.build:98:0: ERROR: Dependency "libnl-3.0" not found, tried pkgconfig
    meson.build:108:0: ERROR: Dependency "wireplumber-0.4" not found, tried pkgconfig and cmake
    meson.build:125:0: ERROR: Dependency "systemd" not found, tried pkgconfig and cmake
    
    PR:             270361
---
 x11/waybar/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11/waybar/Makefile b/x11/waybar/Makefile
index 94477aa7e41c..4dd5632c26a2 100644
--- a/x11/waybar/Makefile
+++ b/x11/waybar/Makefile
@@ -29,7 +29,7 @@ USE_GITHUB=	yes
 USE_GNOME=	gtkmm30
 GH_ACCOUNT=	Alexays
 GH_PROJECT=	Waybar
-MESON_ARGS=	-Dtests=disabled
+MESON_ARGS=	${libnl systemd wireplumber tests:L:C/.*/-D&=disabled/}
 PLIST_FILES=	bin/${PORTNAME} \
 		etc/xdg/${PORTNAME}/config \
 		etc/xdg/${PORTNAME}/style.css