git: b843912c4a1b - main - japanese/fcitx5-cskk: Depend on ECM unconditionally
Kousuke Kannagi <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.ports |
|---|---|
| Message-ID | <[email protected]> |
The branch main has been updated by mce: URL: https://cgit.FreeBSD.org/ports/commit/?id=b843912c4a1bb4ac23ff8ac9b8b7cb0031679345 commit b843912c4a1bb4ac23ff8ac9b8b7cb0031679345 Author: Li-Wen Hsu <[email protected]> AuthorDate: 2026-08-16 17:40:55 +0000 Commit: Kousuke Kannagi <[email protected]> CommitDate: 2026-08-18 13:48:29 +0000 japanese/fcitx5-cskk: 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 QT5 option, so configure fails with WITHOUT_QT5. Move it out of the option and make it build-only. ECM is listed in _USE_KDE_LATEST, so USES=kde:5 can be dropped along with it, as done in 95f9a6808973 for the other fcitx5 ports. While here, fix the indentation of PORTREVISION. PR: 297623 Approved by: [email protected] (maintainer) Approved by: osa (mentor) --- japanese/fcitx5-cskk/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/japanese/fcitx5-cskk/Makefile b/japanese/fcitx5-cskk/Makefile index af7f8db61fb1..1f0011b19d00 100644 --- a/japanese/fcitx5-cskk/Makefile +++ b/japanese/fcitx5-cskk/Makefile @@ -1,7 +1,7 @@ PORTNAME= fcitx5-cskk DISTVERSIONPREFIX= v DISTVERSION= 1.2.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= japanese textproc MAINTAINER= [email protected] @@ -15,7 +15,8 @@ LIB_DEPENDS= libcskk.so:japanese/cskk \ libFcitx5Core.so:textproc/fcitx5 RUN_DEPENDS= ${LOCALBASE}/share/skk/SKK-JISYO.L:japanese/skk-jisyo -USES= cmake gettext pkgconfig +USES= cmake gettext kde pkgconfig +USE_KDE= ecm:build USE_GITHUB= yes GH_ACCOUNT= fcitx @@ -28,8 +29,7 @@ OPTIONS_DEFAULT= QT5 QT5_DESC= Enable Qt for GUI configuration QT5_LIB_DEPENDS+= libFcitx5Qt5WidgetsAddons.so:textproc/fcitx5-qt@qt5 QT5_CMAKE_BOOL= ENABLE_QT -QT5_USES= kde:5 qt:5 -QT5_USE= KDE=ecm \ - QT=core,gui,widgets,buildtools:build,qmake:build +QT5_USES= qt:5 +QT5_USE= QT=core,gui,widgets,buildtools:build,qmake:build .include <bsd.port.mk>