aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authordaichi <daichi@FreeBSD.org>2012-09-18 13:43:23 +0800
committerdaichi <daichi@FreeBSD.org>2012-09-18 13:43:23 +0800
commitc64fc2146c074b2995cf0a703149ebf6d0231493 (patch)
treed804158a5016ade017763d4ab53400050e317b47 /japanese
parentfb0d5fdd12d35ce9a97eb422e23f81fd8fd86ae6 (diff)
downloadfreebsd-ports-gnome-c64fc2146c074b2995cf0a703149ebf6d0231493.tar.gz
freebsd-ports-gnome-c64fc2146c074b2995cf0a703149ebf6d0231493.tar.zst
freebsd-ports-gnome-c64fc2146c074b2995cf0a703149ebf6d0231493.zip
improved paralell build handling
Diffstat (limited to 'japanese')
-rw-r--r--japanese/mozc-server/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/japanese/mozc-server/Makefile b/japanese/mozc-server/Makefile
index ad9fff86c362..078da6fe6f6e 100644
--- a/japanese/mozc-server/Makefile
+++ b/japanese/mozc-server/Makefile
@@ -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 \