From owner-svn-ports-all@FreeBSD.ORG Fri Apr 3 20:56:53 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 98652D03; Fri, 3 Apr 2015 20:56:53 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 82E9D160; Fri, 3 Apr 2015 20:56:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t33Kurtd082765; Fri, 3 Apr 2015 20:56:53 GMT (envelope-from delphij@FreeBSD.org) Received: (from delphij@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t33KuqKo082763; Fri, 3 Apr 2015 20:56:52 GMT (envelope-from delphij@FreeBSD.org) Message-Id: <201504032056.t33KuqKo082763@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: delphij set sender to delphij@FreeBSD.org using -f From: Xin LI Date: Fri, 3 Apr 2015 20:56:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r383178 - in head/chinese/fcitx: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Apr 2015 20:56:53 -0000 Author: delphij Date: Fri Apr 3 20:56:52 2015 New Revision: 383178 URL: https://svnweb.freebsd.org/changeset/ports/383178 Log: Fix build when building in an environment with old version of fcitx present. PR: ports/199112 Submitted by: maintainer Added: head/chinese/fcitx/files/patch-cmake__FindLibiconv.cmake (contents, props changed) Modified: head/chinese/fcitx/Makefile Modified: head/chinese/fcitx/Makefile ============================================================================== --- head/chinese/fcitx/Makefile Fri Apr 3 20:53:27 2015 (r383177) +++ head/chinese/fcitx/Makefile Fri Apr 3 20:56:52 2015 (r383178) @@ -33,10 +33,9 @@ CONFLICTS= zh-scim-fcitx-3.* USE_GNOME= pango intltool libxml2 introspection USE_XORG= x11 xext xkbfile USE_LDCONFIG= yes -USES= tar:xz cmake desktop-file-utils execinfo gettext iconv \ +USES= tar:xz cmake desktop-file-utils execinfo gettext iconv:wchar_t \ pathfix pkgconfig shared-mime-info INSTALLS_ICONS= yes -LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} OPTIONS_DEFINE= GTK2 GTK3 QT4 OPENCC TPUNC DOCS OPTIONS_DEFAULT=GTK2 QT4 Added: head/chinese/fcitx/files/patch-cmake__FindLibiconv.cmake ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/chinese/fcitx/files/patch-cmake__FindLibiconv.cmake Fri Apr 3 20:56:52 2015 (r383178) @@ -0,0 +1,11 @@ +--- cmake/FindLibiconv.cmake.orig 2015-04-03 02:44:55.321687654 +0000 ++++ cmake/FindLibiconv.cmake 2015-04-03 02:46:05.734216729 +0000 +@@ -30,7 +30,7 @@ set(LIBICONV_LIB_FOUND FALSE) + + if(LIBICONV_INCLUDE_DIR) + include(CheckFunctionExists) +- check_function_exists(iconv_open LIBICONV_LIBC_HAS_ICONV_OPEN) ++ set(LIBICONV_LIBC_HAS_ICONV_OPEN FALSE) + + if (LIBICONV_LIBC_HAS_ICONV_OPEN) + set(LIBICONV_LIBRARIES)