aboutsummaryrefslogtreecommitdiff
path: root/editors/openoffice.org-2
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.org-2
parent67b73d1377e6999c3eb829c81e4def84e47a9489 (diff)
downloadports-2b10b3191f13c0e1441381d74cc98ab65cb8fd6d.tar.gz
ports-2b10b3191f13c0e1441381d74cc98ab65cb8fd6d.zip
Notes
Diffstat (limited to 'editors/openoffice.org-2')
-rw-r--r--editors/openoffice.org-2/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/openoffice.org-2/Makefile b/editors/openoffice.org-2/Makefile
index 7bf6ed57a954..8adbf3f7d390 100644
--- a/editors/openoffice.org-2/Makefile
+++ b/editors/openoffice.org-2/Makefile
@@ -51,6 +51,7 @@ USE_GMAKE= yes
USE_PERL5= yes
USE_BZIP2= yes
WITHOUT_CPU_CFLAGS= true
+MAKE_JOBS_SAFE= yes
.include <bsd.port.pre.mk>
@@ -132,7 +133,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 \
@@ -192,8 +192,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