Skip site navigation (1)Skip section navigation (2)
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:   ports/176177: [PATCH] editors/libreoffice: Respect user's MAKE_JOBS_NUMBER
Message-ID:  <20130215175050.7005D28498@kirby.cyberbotx.com>
Resent-Message-ID: <201302151800.r1FI002M056727@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         176177
>Category:       ports
>Synopsis:       [PATCH] editors/libreoffice: Respect user's MAKE_JOBS_NUMBER
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 15 18:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Naram Qashat
>Release:        FreeBSD 8.3-RELEASE-p4 amd64
>Organization:
>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 ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130215175050.7005D28498>