git: 6b359a10ac2d - main - textproc/fcitx5-m17n: Fix build by depending on ECM directly

Li-Wen Hsu <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by lwhsu:

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

commit 6b359a10ac2d97e29e3a3aa2c120721952ce7933
Author:     Li-Wen Hsu <[email protected]>
AuthorDate: 2026-08-16 16:58:56 +0000
Commit:     Li-Wen Hsu <[email protected]>
CommitDate: 2026-08-16 16:59:19 +0000

    textproc/fcitx5-m17n: Fix build by depending on ECM directly
    
    The top-level CMakeLists.txt calls find_package(ECM REQUIRED 1.0.0), but
    the port never declared the dependency.  It only built because
    textproc/fcitx5 pulled ECM in at run time.  Since 95f9a6808973 dropped
    the ECM run dependency, explicitly depending on gettext and ecm is
    required (and correct).
---
 textproc/fcitx5-m17n/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/textproc/fcitx5-m17n/Makefile b/textproc/fcitx5-m17n/Makefile
index 24885ce26606..e158bc421372 100644
--- a/textproc/fcitx5-m17n/Makefile
+++ b/textproc/fcitx5-m17n/Makefile
@@ -13,6 +13,8 @@ LICENSE_FILE=	${WRKSRC}/LICENSES/LGPL-2.1-or-later.txt
 LIB_DEPENDS=	libFcitx5Core.so:textproc/fcitx5 \
 		libm17n.so:devel/m17n-lib
 
-USES=		cmake gettext pkgconfig tar:zst
+USES=		cmake gettext kde pkgconfig tar:zst
+
+USE_KDE=	ecm:build
 
 .include <bsd.port.mk>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.