aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice-3
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2009-06-06 17:07:29 +0800
committermaho <maho@FreeBSD.org>2009-06-06 17:07:29 +0800
commit8ce7168a1ca193606d2e717615d404e6ab610409 (patch)
treef76599929cec8b85dbb72d4d88938817fb045a38 /editors/openoffice-3
parent71f925aa2d131bd7896bbbe7839b2c021c730449 (diff)
downloadfreebsd-ports-gnome-8ce7168a1ca193606d2e717615d404e6ab610409.tar.gz
freebsd-ports-gnome-8ce7168a1ca193606d2e717615d404e6ab610409.tar.zst
freebsd-ports-gnome-8ce7168a1ca193606d2e717615d404e6ab610409.zip
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
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