summaryrefslogtreecommitdiff
path: root/editors/openoffice-3
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2009-06-06 09:07:29 +0000
committerMaho Nakata <maho@FreeBSD.org>2009-06-06 09:07:29 +0000
commit2b10b3191f13c0e1441381d74cc98ab65cb8fd6d (patch)
tree0061120df67a3780c31a9d8e199f86a305b1daff /editors/openoffice-3
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 'editors/openoffice-3')
-rw-r--r--editors/openoffice-3/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/editors/openoffice-3/Makefile b/editors/openoffice-3/Makefile
index fb76524ce3ec..5e5249311dcc 100644
--- a/editors/openoffice-3/Makefile
+++ b/editors/openoffice-3/Makefile
@@ -50,6 +50,7 @@ USE_GMAKE= yes
USE_PERL5= yes
USE_BZIP2= yes
WITHOUT_CPU_CFLAGS= true
+MAKE_JOBS_SAFE= yes
.include <bsd.port.pre.mk>
@@ -134,8 +135,10 @@ GNU_CONFIGURE= yes
WRKSRC?= ${WRKDIR}/${OOOTAG}
TCSH?= /bin/tcsh
PKGMESSAGE= ${WRKDIR}/pkg-message
-MAXPROCESSES?= 1
-MAXMODULES?= 1
+
+.if defined(DISABLE_MAKE_JOBS)
+MAKE_JOBS_NUMBER= 1
+.endif
CONFIGURE_ARGS+= --with-gnu-cp=${LOCALBASE}/bin/gcp \
--with-gnu-patch=${LOCALBASE}/bin/gpatch \
@@ -201,7 +204,7 @@ pre-configure:
do-build:
@cd ${WRKSRC} ; ./bootstrap
- @cd ${WRKSRC} ; ${SETENV} "LANG=C" "LC_ALL=C" "TMP=${WRKSRC}" ${TCSH} -c "source ${FREEBSD_ENV_SET} ; cd instsetoo_native ; build.pl --checkmodules ; build.pl -P${MAXMODULES} --all --html --dontgraboutput -- -P${MAXPROCESSES}"
+ @cd ${WRKSRC} ; ${SETENV} "LANG=C" "LC_ALL=C" "TMP=${WRKSRC}" ${TCSH} -c "source ${FREEBSD_ENV_SET} ; cd instsetoo_native ; build.pl --checkmodules ; build.pl -P${MAKE_JOBS_NUMBER} --all --html --dontgraboutput -- -P${MAKE_JOBS_NUMBER}"
.if ${LOCALIZED_LANG} == "alllangs"
@${MAKE} languagepack