diff options
author | Maho Nakata <maho@FreeBSD.org> | 2009-06-06 09:07:29 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2009-06-06 09:07:29 +0000 |
commit | 2b10b3191f13c0e1441381d74cc98ab65cb8fd6d (patch) | |
tree | 0061120df67a3780c31a9d8e199f86a305b1daff /editors/openoffice.org-2-RC/Makefile | |
parent | - Add patch to shuffle around the command line realloc loop to (diff) |
Add MAKE_JOBS support for OpenOffice.org.
PR: 135262
Submitted by: David Naylor <naylor.b.david@gmail.com>
Supported by: pav
Funded by: The OpenOffice.org community
Notes
Notes:
svn path=/head/; revision=235302
Diffstat (limited to '')
-rw-r--r-- | editors/openoffice.org-2-RC/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/openoffice.org-2-RC/Makefile b/editors/openoffice.org-2-RC/Makefile index bac782d20faa..3b71264cb23f 100644 --- a/editors/openoffice.org-2-RC/Makefile +++ b/editors/openoffice.org-2-RC/Makefile @@ -52,6 +52,7 @@ USE_GMAKE= yes USE_PERL5= yes USE_BZIP2= yes WITHOUT_CPU_CFLAGS= true +MAKE_JOBS_SAFE= yes .include <bsd.port.pre.mk> @@ -134,7 +135,6 @@ WRKSRC?= ${WRKDIR}/${OOOTAG} CONFIGURE_WRKSRC= ${WRKSRC}/config_office TCSH?= /bin/tcsh PKGMESSAGE= ${WRKDIR}/pkg-message -NUMOFPROCESSES?= 1 CONFIGURE_ARGS+= --with-gnu-cp=${LOCALBASE}/bin/gcp \ --with-gnu-patch=${LOCALBASE}/bin/gpatch \ @@ -194,8 +194,8 @@ post-extract: do-build: @cd ${WRKSRC} ; ./bootstrap # PR:84786 #i53289# -.if (${NUMOFPROCESSES}>1) - @cd ${WRKSRC} ; ${SETENV} "LANG=C" "LC_ALL=C" ${TCSH} -c "source ${FREEBSD_ENV_SET} ; setenv TMP ${WRKSRC} ; cd instsetoo_native ; build.pl -P${NUMOFPROCESSES} --all" +.if !defined(DISABLE_MAKE_JOBS) + @cd ${WRKSRC} ; ${SETENV} "LANG=C" "LC_ALL=C" ${TCSH} -c "source ${FREEBSD_ENV_SET} ; setenv TMP ${WRKSRC} ; cd instsetoo_native ; build.pl -P${MAKE_JOBS_NUMBER} --all" .else @cd ${WRKSRC} ; ${SETENV} "LANG=C" "LC_ALL=C" ${TCSH} -c "source ${FREEBSD_ENV_SET} ; setenv TMP ${WRKSRC} ; dmake" .endif |