git: 1931e0c39e82 - main - japanese/fcitx5-skk: Depend on ECM unconditionally

Kousuke Kannagi <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <6a8462fa.45f37.783e2b9e__11439.2081437231$1787061017$gmane$org@gitrepo.freebsd.org>
The branch main has been updated by mce:

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

commit 1931e0c39e827d1c56576e99bcbdf0115235e9d0
Author:     Li-Wen Hsu <[email protected]>
AuthorDate: 2026-08-16 17:41:01 +0000
Commit:     Kousuke Kannagi <[email protected]>
CommitDate: 2026-08-18 13:48:33 +0000

    japanese/fcitx5-skk: Depend on ECM unconditionally
    
    The top-level CMakeLists.txt calls find_package(ECM 1.0.0 REQUIRED)
    unconditionally, but the port only declared the dependency under the QT6
    option, so configure fails with WITHOUT_QT6.  Move it out of the option
    and make it build-only.  ECM is listed in _USE_KDE_LATEST, so USES=kde:6
    can be dropped along with it, as done in 95f9a6808973 for the other
    fcitx5 ports.
    
    PR:             297622
    Approved by:    osa (mentor)
---
 japanese/fcitx5-skk/Makefile | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/japanese/fcitx5-skk/Makefile b/japanese/fcitx5-skk/Makefile
index 926ffcfc4f10..5db4e72d88a6 100644
--- a/japanese/fcitx5-skk/Makefile
+++ b/japanese/fcitx5-skk/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	fcitx5-skk
 DISTVERSION=	5.1.10
+PORTREVISION=	1
 CATEGORIES=	japanese textproc
 MASTER_SITES=	https://download.fcitx-im.org/fcitx5/fcitx5-skk/
 
@@ -14,8 +15,10 @@ LIB_DEPENDS=	libFcitx5Core.so:textproc/fcitx5 \
 		libskk.so:japanese/libskk
 RUN_DEPENDS=	${LOCALBASE}/share/skk/SKK-JISYO.L:japanese/skk-jisyo
 
-USES=		cmake compiler:c++17-lang gettext-tools gnome pkgconfig tar:zst
+USES=		cmake compiler:c++17-lang gettext-tools gnome kde pkgconfig \
+		tar:zst
 USE_GNOME=	glib20
+USE_KDE=	ecm:build
 
 CMAKE_ARGS+=	-DSKK_PATH=${LOCALBASE}/share/skk/
 
@@ -25,8 +28,8 @@ OPTIONS_SUB=	yes
 
 QT6_DESC=	Enable Qt for GUI configuration
 QT6_LIB_DEPENDS=	libFcitx5Qt6WidgetsAddons.so:textproc/fcitx5-qt@qt6
-QT6_USES=	kde:6 qt:6
-QT6_USE=	KDE=ecm QT=tools:build,base
+QT6_USES=	qt:6
+QT6_USE=	QT=tools:build,base
 QT6_CMAKE_BOOL=	ENABLE_QT
 
 .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.