git: b6f4f1e6971a - main - x11-toolkits/wlroots: NVIDIA depends on X11 after 597460fbd27c

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sun, 26 Dec 2021 11:48:33 UTC
The branch main has been updated by jbeich:

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

commit b6f4f1e6971a07341b925f066409fa5e7a2993fd
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-12-26 11:44:48 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-12-26 11:48:18 +0000

    x11-toolkits/wlroots: NVIDIA depends on X11 after 597460fbd27c
    
    ld: error: undefined symbol: xwayland_keyboard_grab_manager
    >>> referenced by wlr_keyboard.c
    >>>               libwlroots.so.10.p/types_wlr_keyboard.c.o:(wlr_keyboard_notify_key)
    cc: error: linker command failed with exit code 1 (use -v to see invocation)
    ninja: build stopped: cannot make progress due to previous errors.
---
 x11-toolkits/wlroots/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-toolkits/wlroots/Makefile b/x11-toolkits/wlroots/Makefile
index 261d2c7d6b03..45a1592189c3 100644
--- a/x11-toolkits/wlroots/Makefile
+++ b/x11-toolkits/wlroots/Makefile
@@ -41,7 +41,7 @@ DRM_VARS=		BACKENDS+="drm libinput"
 NVIDIA_DESC=		EGLStreams support for DRM backend (experimental)
 NVIDIA_PATCH_SITES=	https://github.com/danvd/${GL_PROJECT}-eglstreams/commit/:nvidia
 NVIDIA_PATCHFILES=	c0fc017207f0.patch:-p1:nvidia # https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/2769
-NVIDIA_IMPLIES=		DRM OPENGL
+NVIDIA_IMPLIES=		DRM OPENGL X11
 .if make(makesum)
 .MAKEFLAGS:		WITH+=NVIDIA
 .endif