diff options
author | Daichi GOTO <daichi@FreeBSD.org> | 2012-07-20 06:18:37 +0000 |
---|---|---|
committer | Daichi GOTO <daichi@FreeBSD.org> | 2012-07-20 06:18:37 +0000 |
commit | f300d940d13c57d33cf2d8580f567c77e44f8429 (patch) | |
tree | a129ca65c99d432ea21b116f71f2d52588555761 /japanese/mozc-server | |
parent | 63f9bbc72575bc2c78f34a266ed6510a45eb4a35 (diff) |
fixed a build error reported by pointy hat
Notes
Notes:
svn path=/head/; revision=301216
Diffstat (limited to 'japanese/mozc-server')
-rw-r--r-- | japanese/mozc-server/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/japanese/mozc-server/Makefile b/japanese/mozc-server/Makefile index 3b576498783e..1a84c3f5adb1 100644 --- a/japanese/mozc-server/Makefile +++ b/japanese/mozc-server/Makefile @@ -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 \ |