git: a7668311d79c - main - deskutils/maliit-framework: explicitly depend on wayland-protocols

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

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

commit a7668311d79c3b83888c4cfdfbbab1a4816dc955
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-12-31 09:41:04 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-12-31 09:53:01 +0000

    deskutils/maliit-framework: explicitly depend on wayland-protocols
    
    CMake Error at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
      Could NOT find WaylandProtocols (missing: WAYLANDPROTOCOLS_PATH)
    Call Stack (most recent call first):
      /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
      cmake/FindWaylandProtocols.cmake:38 (find_package_handle_standard_args)
      CMakeLists.txt:52 (find_package)
    
    PR:             260639
    Reported by:    antoine (via exp-run)
---
 deskutils/maliit-framework/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/deskutils/maliit-framework/Makefile b/deskutils/maliit-framework/Makefile
index 4c10af9c7de5..fd3c70f09cdf 100644
--- a/deskutils/maliit-framework/Makefile
+++ b/deskutils/maliit-framework/Makefile
@@ -6,7 +6,8 @@ PKGNAMEPREFIX=	maliit-
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Core libraries of Maliit and server
 
-BUILD_DEPENDS=	${LOCALBASE}/include/linux/input.h:devel/evdev-proto
+BUILD_DEPENDS=	evdev-proto>0:devel/evdev-proto \
+		wayland-protocols>0:graphics/wayland-protocols
 LIB_DEPENDS=	libharfbuzz.so:print/harfbuzz \
 		libudev.so:devel/libudev-devd \
 		libwayland-client.so:graphics/wayland \