Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2012 05:43:23 +0000 (UTC)
From:      Daichi GOTO <daichi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r304429 - head/japanese/mozc-server
Message-ID:  <201209180543.q8I5hNrD039498@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: daichi
Date: Tue Sep 18 05:43:23 2012
New Revision: 304429
URL: http://svn.freebsd.org/changeset/ports/304429

Log:
  improved paralell build handling

Modified:
  head/japanese/mozc-server/Makefile

Modified: head/japanese/mozc-server/Makefile
==============================================================================
--- head/japanese/mozc-server/Makefile	Tue Sep 18 05:11:44 2012	(r304428)
+++ head/japanese/mozc-server/Makefile	Tue Sep 18 05:43:23 2012	(r304429)
@@ -28,6 +28,8 @@ USE_ICONV=	yes
 USE_PYTHON=	yes
 USE_OPENSSL=	yes
 
+MAKE_JOBS_SAFE=	yes
+
 BUILD_MOZC_LIST?=	mozc_server
 
 .if ${BUILD_MOZC_LIST:Mmozc_server} == "mozc_server"
@@ -114,7 +116,8 @@ pre-build:
 PLIST_FILES+=	bin/mozc_server
 
 do-build-mozc_server:
-	${BUILD_MOZC_CMD} build -c ${BUILD_MODE} server/server.gyp:mozc_server
+	${BUILD_MOZC_CMD} build -c ${BUILD_MODE} -j ${MAKE_JOBS_NUMBER} \
+		server/server.gyp:mozc_server
 
 do-install-mozc_server:
 	@${INSTALL_PROGRAM} \
@@ -132,7 +135,8 @@ PLIST_FILES+=	bin/mozc_tool \
 PLIST_DIRS+=	${DATADIR_REL}/icons ${DATADIR_REL}
 
 do-build-mozc_tool:
-	${BUILD_MOZC_CMD} build -c ${BUILD_MODE} gui/gui.gyp:mozc_tool
+	${BUILD_MOZC_CMD} build -c ${BUILD_MODE} -j ${MAKE_JOBS_NUMBER} \
+		gui/gui.gyp:mozc_tool
 
 do-install-mozc_tool:
 	@${INSTALL_PROGRAM} \
@@ -171,7 +175,8 @@ PLIST_FILES+=	libexec/ibus-engine-mozc \
 PLIST_DIRS+=	${DATADIR_REL}/icons ${DATADIR_REL}
 
 do-build-ibus_mozc:
-	${BUILD_MOZC_CMD} build -c ${BUILD_MODE} unix/ibus/ibus.gyp:ibus_mozc
+	${BUILD_MOZC_CMD} build -c ${BUILD_MODE} -j ${MAKE_JOBS_NUMBER}
+		unix/ibus/ibus.gyp:ibus_mozc
 
 do-install-ibus_mozc:
 	${INSTALL_PROGRAM} \
@@ -222,7 +227,8 @@ PLIST_FILES+=	lib/fcitx/fcitx-mozc.so \
 PLIST_DIRS+=	${DATADIR_REL}/icon ${DATADIR_REL}
 
 do-build-fcitx_mozc:
-		${BUILD_MOZC_CMD} build -c ${BUILD_MODE} unix/fcitx/fcitx.gyp:fcitx-mozc
+		${BUILD_MOZC_CMD} build -c ${BUILD_MODE} -j ${MAKE_JOBS_NUMBER} \
+			unix/fcitx/fcitx.gyp:fcitx-mozc
 
 do-install-fcitx_mozc:
 	${MKDIR} \
@@ -266,7 +272,7 @@ PLIST_FILES+=	bin/mozc_emacs_helper \
 		${EMACS_VERSION_SITE_LISPDIR}/mozc.elc
 
 do-build-mozc_el:
-	${BUILD_MOZC_CMD} build -c ${BUILD_MODE} \
+	${BUILD_MOZC_CMD} build -c ${BUILD_MODE} -j ${MAKE_JOBS_NUMBER} \
 		unix/emacs/emacs.gyp:mozc_emacs_helper
 	@cd ${WRKSRC}/unix/emacs && \
 		${EMACS_CMD} -batch -q -no-site-file -no-init-file \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209180543.q8I5hNrD039498>