From 2b10b3191f13c0e1441381d74cc98ab65cb8fd6d Mon Sep 17 00:00:00 2001 From: Maho Nakata Date: Sat, 6 Jun 2009 09:07:29 +0000 Subject: Add MAKE_JOBS support for OpenOffice.org. PR: 135262 Submitted by: David Naylor Supported by: pav Funded by: The OpenOffice.org community --- editors/openoffice.org-3-RC/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'editors/openoffice.org-3-RC') diff --git a/editors/openoffice.org-3-RC/Makefile b/editors/openoffice.org-3-RC/Makefile index ad1c402a4e27..d58405171788 100644 --- a/editors/openoffice.org-3-RC/Makefile +++ b/editors/openoffice.org-3-RC/Makefile @@ -50,6 +50,7 @@ USE_GMAKE= yes USE_PERL5= yes USE_BZIP2= yes WITHOUT_CPU_CFLAGS= true +MAKE_JOBS_SAFE= yes .include @@ -135,8 +136,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 \ @@ -202,7 +205,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 -- cgit v1.2.3