git: 3ee0491eb69c - main - graphics/glfw: make WAYLAND default option, make dependency on KDE=ecm for build only

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Thu, 08 Aug 2024 11:52:49 UTC
The branch main has been updated by vvd:

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

commit 3ee0491eb69ca417e4694daa9ddcc5ddfc69b217
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2024-08-08 11:45:21 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-08-08 11:52:36 +0000

    graphics/glfw: make WAYLAND default option, make dependency on KDE=ecm for build only
---
 graphics/glfw/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/graphics/glfw/Makefile b/graphics/glfw/Makefile
index 2ca847993c66..22d45039d06c 100644
--- a/graphics/glfw/Makefile
+++ b/graphics/glfw/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	glfw
 DISTVERSION=	3.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics
 MASTER_SITES=	https://github.com/glfw/glfw/releases/download/${DISTVERSION}/
 
@@ -25,7 +25,7 @@ PORTDOCS=	*
 PORTEXAMPLES=	*
 
 OPTIONS_DEFINE=		DOCS EXAMPLES PREEDIT
-OPTIONS_DEFAULT=	PREEDIT X11
+OPTIONS_DEFAULT=	PREEDIT WAYLAND X11
 OPTIONS_MULTI=		PLATFORM
 OPTIONS_MULTI_PLATFORM=	WAYLAND X11
 PLATFORM_DESC=		Window creation platform
@@ -55,7 +55,7 @@ WAYLAND_BUILD_DEPENDS=	evdev-proto>0:devel/evdev-proto \
 			wayland-protocols>=0:graphics/wayland-protocols
 WAYLAND_LIB_DEPENDS=	libepoll-shim.so:devel/libepoll-shim
 WAYLAND_USES=		kde:5 pkgconfig
-WAYLAND_USE=		KDE=ecm
+WAYLAND_USE=		KDE=ecm:build
 WAYLAND_CMAKE_BOOL=	GLFW_BUILD_WAYLAND
 
 X11_USES=	xorg