Bug 173887

Summary: [PATCH] chinese/fcitx missing depends after choosing QT4 option
Product: Ports & Packages Reporter: cheunghonyu
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description cheunghonyu 2012-11-24 02:30:00 UTC
chinese/fcitx fail to compile with option QT4

Fix: Apply the patch.txt

Patch attached with submission follows:
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.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-11-24 02:30:07 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2012-11-24 02:30:07 UTC
Maintainer of chinese/fcitx,

Please note that PR ports/173887 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/173887

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Wen Heping freebsd_committer freebsd_triage 2012-11-25 13:26:39 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!