From 2a8bcfc8ea71d4438b926a8adc477de360863145 Mon Sep 17 00:00:00 2001 From: tcberner Date: Thu, 28 Jun 2018 17:39:53 +0000 Subject: Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From now on, ports that depend on Qt4 will have to set USES= qt:4 USE_QT= foo bar ports depending on Qt5 will use USES= qt:5 USE_QT= foo bar PR: 229225 Exp-run by: antoine Reviewed by: mat Approved by: portmgr (antoine) Differential Revision: →https://reviews.freebsd.org/D15540 --- chinese/fcitx/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'chinese/fcitx') diff --git a/chinese/fcitx/Makefile b/chinese/fcitx/Makefile index 472450958e2e..17e966a8d1c2 100644 --- a/chinese/fcitx/Makefile +++ b/chinese/fcitx/Makefile @@ -39,7 +39,7 @@ USE_GNOME= pango intltool libxml2 introspection USE_KDE= ecm USE_XORG= x11 xext xkbfile sm ice USE_LDCONFIG= yes -USES= tar:xz cmake:noninja desktop-file-utils \ +USES= qt:4 tar:xz cmake:noninja desktop-file-utils \ gettext-tools:build,run gettext-runtime iconv:wchar_t \ kde:5 pkgconfig shared-mime-info INSTALLS_ICONS= yes @@ -87,7 +87,8 @@ SUB_LIST+= GTK3_IM=xim .endif .if ${PORT_OPTIONS:MQT4} -USE_QT4+= qmake_build moc_build rcc_build uic_build dbus gui inputmethods corelib +USES+= qt:4 +USE_QT+= qmake_build moc_build rcc_build uic_build dbus gui inputmethods corelib USE_LDCONFIG+= ${PREFIX}/lib/fcitx/qt PLIST_SUB+= QT4="" .else -- cgit