svn commit: r366809 - head/japanese/mozc-server

Hiroki Sato hrs at FreeBSD.org
Sun Aug 31 18:36:52 UTC 2014


Author: hrs
Date: Sun Aug 31 18:36:51 2014
New Revision: 366809
URL: http://svnweb.freebsd.org/changeset/ports/366809
QAT: https://qat.redports.org/buildarchive/r366809/

Log:
  Fix build on branches with GCC 4.2.1.
  
  Spotted by:	ume

Modified:
  head/japanese/mozc-server/Makefile

Modified: head/japanese/mozc-server/Makefile
==============================================================================
--- head/japanese/mozc-server/Makefile	Sun Aug 31 18:35:40 2014	(r366808)
+++ head/japanese/mozc-server/Makefile	Sun Aug 31 18:36:51 2014	(r366809)
@@ -21,7 +21,7 @@ LIB_DEPENDS=	libprotobuf.so:${PORTSDIR}/
 		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


More information about the svn-ports-all mailing list