From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Nov 24 02:30:00 2012 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D24E5978 for ; Sat, 24 Nov 2012 02:30:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id A72508FC18 for ; Sat, 24 Nov 2012 02:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qAO2U0Nm015520 for ; Sat, 24 Nov 2012 02:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qAO2U0MI015518; Sat, 24 Nov 2012 02:30:00 GMT (envelope-from gnats) Resent-Date: Sat, 24 Nov 2012 02:30:00 GMT Resent-Message-Id: <201211240230.qAO2U0MI015518@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Hon-Yu Lawrence Cheung Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F37B86DD for ; Sat, 24 Nov 2012 02:22:26 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id C1D248FC13 for ; Sat, 24 Nov 2012 02:22:26 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qAO2MQWT011842 for ; Sat, 24 Nov 2012 02:22:26 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id qAO2MQkn011841; Sat, 24 Nov 2012 02:22:26 GMT (envelope-from nobody) Message-Id: <201211240222.qAO2MQkn011841@red.freebsd.org> Date: Sat, 24 Nov 2012 02:22:26 GMT From: Hon-Yu Lawrence Cheung To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/173887: [PATCH] chinese/fcitx missing depends after choosing QT4 option X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 02:30:00 -0000 >Number: 173887 >Category: ports >Synopsis: [PATCH] chinese/fcitx missing depends after choosing QT4 option >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Nov 24 02:30:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Hon-Yu Lawrence Cheung >Release: FreeBSD 9-RC3 amd64 >Organization: >Environment: FreeBSD a5552.honyucheung.net 9.1-RC3 FreeBSD 9.1-RC3 #2 r242544: Sun Nov 4 10:30:38 HKT 2012 root@a5552.honyucheung.net:/usr/obj/usr/src/sys/ACER5552 amd64 >Description: chinese/fcitx fail to compile with option QT4 >How-To-Repeat: If you compile chinese/fcitx with QT4 option, it will stop in configure stage result from missing depends of QT components. =================================== -- checking for module 'dbus-1>=1.1.0' -- found dbus-1, version 1.4.14 -- checking for module 'gio-2.0>=2.26' -- found gio-2.0, version 2.28.8 -- checking for module 'gobject-introspection-1.0' -- found gobject-introspection-1.0, version 0.10.8 CMake Error at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE): Could NOT find Qt4 (missing: QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE QT_RCC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR QT_QTCORE_INCLUDE_DIR QT_QTCORE_LIBRARY QT_QTGUI_INCLUDE_DIR QT_QTGUI_LIBRARY QT_QTDBUS_INCLUDE_DIR QT_QTDBUS_LIBRARY QT_UIC_EXECUTABLE) (Required is at least version "4.5") Call Stack (most recent call first): /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE) /usr/local/share/cmake/Modules/FindQt4.cmake:1186 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) src/frontend/qt/CMakeLists.txt:2 (find_package) -- Configuring incomplete, errors occurred! *** [do-configure] Error code 1 Stop in /usr/ports/chinese/fcitx. >Fix: Apply the patch.txt Patch attached with submission follows: --- Makefile.orig 2012-11-24 09:33:50.000000000 +0800 +++ Makefile 2012-11-24 09:33:54.000000000 +0800 @@ -68,12 +68,11 @@ PLIST_SUB+= GTK3="@comment " SUB_LIST+= GTK3_IM=xim .endif .if ${PORT_OPTIONS:MQT4} -USE_QT= yes -USE_QT4= gui +USE_QT4= qmake_build moc_build rcc_build uic_build dbus gui inputmethods CMAKE_ARGS+= -DENABLE_QT_IM_MODULE=ON PLIST_SUB+= QT4="" .else PLIST_SUB+= QT4="@comment " .endif >Release-Note: >Audit-Trail: >Unformatted: