Date: Fri, 15 Feb 2013 12:50:50 -0500 (EST) From: Naram Qashat <cyberbotx@cyberbotx.com> To: FreeBSD-gnats-submit@freebsd.org Cc: office@FreeBSD.org Subject: [PATCH] editors/libreoffice: Respect user's MAKE_JOBS_NUMBER Message-ID: <20130215175050.7005D28498@kirby.cyberbotx.com>
index | next in thread | raw e-mail
>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@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 ---
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130215175050.7005D28498>
