From owner-svn-ports-all@FreeBSD.ORG Fri Jul 20 06:18:38 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53875106564A; Fri, 20 Jul 2012 06:18:38 +0000 (UTC) (envelope-from daichi@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 3E5298FC12; Fri, 20 Jul 2012 06:18:38 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q6K6Icoe063902; Fri, 20 Jul 2012 06:18:38 GMT (envelope-from daichi@svn.freebsd.org) Received: (from daichi@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q6K6IcUI063900; Fri, 20 Jul 2012 06:18:38 GMT (envelope-from daichi@svn.freebsd.org) Message-Id: <201207200618.q6K6IcUI063900@svn.freebsd.org> From: Daichi GOTO Date: Fri, 20 Jul 2012 06:18:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r301216 - head/japanese/mozc-server X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 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, 20 Jul 2012 06:18:38 -0000 Author: daichi Date: Fri Jul 20 06:18:37 2012 New Revision: 301216 URL: http://svn.freebsd.org/changeset/ports/301216 Log: fixed a build error reported by pointy hat Modified: head/japanese/mozc-server/Makefile Modified: head/japanese/mozc-server/Makefile ============================================================================== --- head/japanese/mozc-server/Makefile Fri Jul 20 05:52:20 2012 (r301215) +++ head/japanese/mozc-server/Makefile Fri Jul 20 06:18:37 2012 (r301216) @@ -7,7 +7,7 @@ PORTNAME= mozc PORTVERSION= 1.5.1090.102 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= japanese MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} PKGNAMEPREFIX?= ja- @@ -30,9 +30,13 @@ USE_OPENSSL= yes BUILD_MOZC_LIST?= mozc_server -.if ${BUILD_MOZC_LIST:Mmozc_tool} == "mozc_tool" +.if ${BUILD_MOZC_LIST:Mmozc_server} == "mozc_server" +USE_GNOME+= glib20 gtk20 +.elif ${BUILD_MOZC_LIST:Mmozc_tool} == "mozc_tool" +USE_GNOME+= gtk20 USE_QT4+= gui dbus qmake_build moc_build uic_build rcc_build -.elif ${BUILD_MOZC_LIST:Mibus_mozc} == "ibus_mozc" || ${BUILD_MOZC_LIST:Mscim_mozc} == "scim_mozc" +.elif ${BUILD_MOZC_LIST:Mibus_mozc} == "ibus_mozc" || \ + ${BUILD_MOZC_LIST:Mscim_mozc} == "scim_mozc" USE_GNOME+= pygtk2 .elif ${BUILD_MOZC_LIST:Mfcitx_mozc} == "fcitx_mozc" USE_GNOME+= glib20 gtk20 @@ -107,6 +111,7 @@ pre-build: # mozc_server .if ${BUILD_MOZC_LIST:Mmozc_server} == "mozc_server" +LIB_DEPENDS+= cairo.2:${PORTSDIR}/graphics/cairo PLIST_FILES+= bin/mozc_server do-build-mozc_server: @@ -120,6 +125,7 @@ do-install-mozc_server: # mozc_tool .if ${BUILD_MOZC_LIST:Mmozc_tool} == "mozc_tool" +LIB_DEPENDS+= cairo.2:${PORTSDIR}/graphics/cairo RUN_DEPENDS+= ${LOCALBASE}/share/tegaki/models/zinnia/handwriting-ja.model:${PORTSDIR}/japanese/tegaki-zinnia-japanese PLIST_FILES+= bin/mozc_tool \