git: 259bdf774c86 - 2026Q2 - x11-toolkits/wlroots020: add missing dependency

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 11 Apr 2026 11:47:18 UTC
The branch 2026Q2 has been updated by jbeich:

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

commit 259bdf774c86fb26ff6a5457139d2bb97c3e8c65
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2026-04-11 11:40:46 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2026-04-11 11:47:14 +0000

    x11-toolkits/wlroots020: add missing dependency
    
    $ pkg-config --libs wlroots-0.20
    Package wayland-protocols was not found in the pkg-config search path.
    Perhaps you should add the directory containing `wayland-protocols.pc'
    to the PKG_CONFIG_PATH environment variable
    Package 'wayland-protocols', required by 'wlroots-0.20', not found
    
    https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/122310a2de35
    (cherry picked from commit ab987a3cdcc50d8e11ca49cf82dc0f5271fe53eb)
---
 x11-toolkits/wlroots020/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/x11-toolkits/wlroots020/Makefile b/x11-toolkits/wlroots020/Makefile
index 7501a5009bb4..f838dba2f844 100644
--- a/x11-toolkits/wlroots020/Makefile
+++ b/x11-toolkits/wlroots020/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	wlroots
 DISTVERSION=	0.20.0
+PORTREVISION=	1
 CATEGORIES=	x11-toolkits
 PKGNAMESUFFIX=	020
 
@@ -15,6 +16,7 @@ BUILD_DEPENDS=	evdev-proto>0:devel/evdev-proto \
 LIB_DEPENDS=	libdrm.so:graphics/libdrm \
 		libwayland-server.so:graphics/wayland \
 		libxkbcommon.so:x11/libxkbcommon
+RUN_DEPENDS=	wayland-protocols>0:graphics/wayland-protocols
 
 USES=		compiler:c11 gl meson pkgconfig xorg
 USE_GITLAB=	yes