summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2014-08-31 18:36:51 +0000
committerHiroki Sato <hrs@FreeBSD.org>2014-08-31 18:36:51 +0000
commitff75bd1812febe5cc57ae3d782a70b1bd4e9ea3f (patch)
treed77a97ef0a6e421ad79d4b751acfa8ce5ae3e7f7 /japanese
parentUnbreak on -CURRENT. (diff)
Fix build on branches with GCC 4.2.1.
Spotted by: ume
Notes
Notes: svn path=/head/; revision=366809
Diffstat (limited to 'japanese')
-rw-r--r--japanese/mozc-server/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/japanese/mozc-server/Makefile b/japanese/mozc-server/Makefile
index a171a8f5add4..4a51c70e2891 100644
--- a/japanese/mozc-server/Makefile
+++ b/japanese/mozc-server/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= libprotobuf.so:${PORTSDIR}/devel/protobuf \
libzinnia.so:${PORTSDIR}/japanese/zinnia
RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils
-USES= pkgconfig iconv gmake tar:bzip2
+USES= compiler:c++0x pkgconfig iconv gmake tar:bzip2
USE_PYTHON_BUILD=yes
BUILD_MOZC_LIST?= mozc_server
@@ -71,7 +71,9 @@ BUILD_MOZC_CMD= cd ${BUILD_WRKSRC} && \
PYTHONPATH=${WRKSRC}/third_party/gyp/pylib/gyp \
GYP_DEFINES="${GYP_DEFINES}" \
CC_host="${CC}" \
+ CC_target="${CC}" \
CXX_host="${CXX}" \
+ CXX_target="${CXX}" \
LD_host="${CXX}" \
AR_host="${AR}" \
${PYTHON_CMD} build_mozc.py