aboutsummaryrefslogtreecommitdiff
path: root/editors/libreoffice
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2013-02-15 22:19:09 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2013-02-15 22:19:09 +0000
commit03b48b99b85c202ecf931a5a03960ed75a2d3a5b (patch)
tree74a3df01c1d709f061abf7e20f87b18d11d14b5d /editors/libreoffice
parent994590024e026563beeb66a72fdf6c04995f8464 (diff)
downloadports-03b48b99b85c202ecf931a5a03960ed75a2d3a5b.tar.gz
ports-03b48b99b85c202ecf931a5a03960ed75a2d3a5b.zip
Notes
Diffstat (limited to 'editors/libreoffice')
-rw-r--r--editors/libreoffice/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/editors/libreoffice/Makefile b/editors/libreoffice/Makefile
index 3312f82a731c..e4048b3575ca 100644
--- a/editors/libreoffice/Makefile
+++ b/editors/libreoffice/Makefile
@@ -105,6 +105,12 @@ JAVA_DESC= Add java support (XML Filters, macros)
ACLOCAL_ARGS= -I "${WRKSRC}/m4"
+.if defined(DISABLE_MAKE_JOBS)
+MAKE_JOBS_NUMBER= 1
+.else
+MAKE_JOBS_NUMBER?= `${SYSCTL} -n kern.smp.cpus`
+.endif
+
CONFIGURE_ENV= BDB_INCLUDE_DIR=${BDB_INCLUDE_DIR} \
BDB_LIB_DIR=${BDB_LIB_DIR} \
BDB_LIB_NAME=${BDB_LIB_NAME} \
@@ -121,6 +127,7 @@ CONFIGURE_ARGS+= --with-unix-wrapper="libreoffice" \
--exec-prefix=${PREFIX} \
--with-gnu-patch=${LOCALBASE}/bin/gpatch \
--with-external-tar=${DISTDIR}/${DIST_SUBDIR} \
+ --with-num-cpus=${MAKE_JOBS_NUMBER} \
--with-solver-and-workdir-root=${TMPDIR}/lobuild \
--with-system-boost \
--with-system-clucene \