git: 3ba1823aaf9f - main - textproc/fcitx5-mcfoxim: 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=3ba1823aaf9f7551507028b50bb6a52b84a3448c

commit 3ba1823aaf9f7551507028b50bb6a52b84a3448c
Author:     Li-Wen Hsu <[email protected]>
AuthorDate: 2026-08-16 16:58:46 +0000
Commit:     Li-Wen Hsu <[email protected]>
CommitDate: 2026-08-16 16:59:18 +0000

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

diff --git a/textproc/fcitx5-mcfoxim/Makefile b/textproc/fcitx5-mcfoxim/Makefile
index a7f86d3ae488..0824512e477a 100644
--- a/textproc/fcitx5-mcfoxim/Makefile
+++ b/textproc/fcitx5-mcfoxim/Makefile
@@ -13,7 +13,9 @@ BUILD_DEPENDS=	nlohmann-json>0:devel/nlohmann-json
 
 LIB_DEPENDS=	libFcitx5Core.so:textproc/fcitx5
 
-USES=		cmake pkgconfig
+USES=		cmake gettext-tools:build kde pkgconfig
+
+USE_KDE=	ecm:build
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	openvanilla
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.