From owner-svn-ports-head@FreeBSD.ORG Fri Feb 15 22:19:10 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 831E34A8; Fri, 15 Feb 2013 22:19:10 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 75E17967; Fri, 15 Feb 2013 22:19:10 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r1FMJAUl021441; Fri, 15 Feb 2013 22:19:10 GMT (envelope-from jkim@svn.freebsd.org) Received: (from jkim@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r1FMJAa4021440; Fri, 15 Feb 2013 22:19:10 GMT (envelope-from jkim@svn.freebsd.org) Message-Id: <201302152219.r1FMJAa4021440@svn.freebsd.org> From: Jung-uk Kim Date: Fri, 15 Feb 2013 22:19:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r312312 - head/editors/libreoffice X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Feb 2013 22:19:10 -0000 Author: jkim Date: Fri Feb 15 22:19:09 2013 New Revision: 312312 URL: http://svnweb.freebsd.org/changeset/ports/312312 Log: - Do not let the configure script guess number of CPUs in the system. - Honor MAKE_JOBS_NUMBER if available. PR: ports/176177 Modified: head/editors/libreoffice/Makefile Modified: head/editors/libreoffice/Makefile ============================================================================== --- head/editors/libreoffice/Makefile Fri Feb 15 22:08:37 2013 (r312311) +++ head/editors/libreoffice/Makefile Fri Feb 15 22:19:09 2013 (r312312) @@ -105,6 +105,12 @@ JAVA_DESC= Add java support (XML Filters 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="li --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 \