git: 64cd9b834640 - main - www/webkit2-gtk3: explicitly depend on wayland-protocols

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Fri, 31 Dec 2021 09:53:39 UTC
The branch main has been updated by jbeich:

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

commit 64cd9b834640d880d8bb0cd083d2e4cdf365eec6
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-12-31 09:43:55 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-12-31 09:53:01 +0000

    www/webkit2-gtk3: explicitly depend on wayland-protocols
    
    ninja: error: '/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml', needed by 'WebKit2Gtk/DerivedSources/pointer-constraints-unstable-v1-protocol.c', missing and no known rule to make it
    
    PR:             260639
    Reported by:    antoine (via exp-run)
---
 www/webkit2-gtk3/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/webkit2-gtk3/Makefile b/www/webkit2-gtk3/Makefile
index fdc7bc195f74..079af18288e4 100644
--- a/www/webkit2-gtk3/Makefile
+++ b/www/webkit2-gtk3/Makefile
@@ -95,6 +95,7 @@ GSTREAMER_USE=		GSTREAMER1=bad,gl
 GSTREAMER_CMAKE_BOOL=	ENABLE_VIDEO ENABLE_WEB_AUDIO
 
 WAYLAND_CMAKE_BOOL=	ENABLE_WAYLAND_TARGET
+WAYLAND_BUILD_DEPENDS=	wayland-protocols>=1.12:graphics/wayland-protocols
 WAYLAND_LIB_DEPENDS=	libwayland-egl.so:graphics/wayland \
 			libwpe-1.0.so:www/libwpe \
 			libWPEBackend-fdo-1.0.so:www/wpebackend-fdo