[PATCH] editors/libreoffice: Respect user's MAKE_JOBS_NUMBER

Naram Qashat cyberbotx at cyberbotx.com
Fri Feb 15 17:50:52 UTC 2013


>Submitter-Id:	current-users
>Originator:	Naram Qashat
>Organization:	
>Confidential:	no 
>Synopsis:	[PATCH] editors/libreoffice: Respect user's MAKE_JOBS_NUMBER
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		change-request
>Release:	FreeBSD 8.3-RELEASE-p4 amd64
>Environment:
System: FreeBSD kirby.cyberbotx.com 8.3-RELEASE-p4 FreeBSD 8.3-RELEASE-p4 #4: Mon Oct  1 19:56:21 EDT
>Description:
Currently, libreoffice attempts to use the maximum number of
cores on your CPU when building, completely ignoring any
MAKE_JOBS_NUMBER setting the user may have set in their
/etc/make.conf file.  This corrects the issue, which still
will use max cores if MAKE_JOBS_NUMBER is undefined.

Port maintainer (office at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- libreoffice-3.6.5_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/editors/libreoffice/Makefile ./Makefile
--- /usr/ports/editors/libreoffice/Makefile	2013-02-15 12:49:10.000000000 -0500
+++ ./Makefile	2013-02-15 12:33:57.000000000 -0500
@@ -178,7 +178,8 @@
 			--with-system-gettext \
 			--with-system-libpng \
 			--disable-gnome-vfs \
-			--enable-python=system
+			--enable-python=system \
+			--with-num-cpus=${MAKE_JOBS_NUMBER}
 
 # extensions
 CONFIGURE_ARGS+=	--enable-ext-pdfimport
--- libreoffice-3.6.5_2.patch ends here ---



More information about the freebsd-office mailing list