From owner-cvs-all Mon May 7 17:18:56 2001 Delivered-To: cvs-all@freebsd.org Received: from mail.musha.org (daemon.musha.org [61.122.44.178]) by hub.freebsd.org (Postfix) with ESMTP id 7456337B423; Mon, 7 May 2001 17:18:47 -0700 (PDT) (envelope-from knu@iDaemons.org) Received: from archon.local.idaemons.org (archon.local.idaemons.org [192.168.1.32]) by mail.musha.org (Postfix) with ESMTP id 3EF8E4E308; Tue, 8 May 2001 09:18:41 +0900 (JST) Date: Tue, 08 May 2001 09:18:41 +0900 Message-ID: <867kzsn15q.wl@archon.local.idaemons.org> From: "Akinori MUSHA" To: Will Andrews , sobomax@FreeBSD.org, mi@misha.privatelabs.com, eric@FreeBSD.org, kris@obsecurity.org, kris@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: port policies In-Reply-To: <20010507185852.M3246@casimir.physics.purdue.edu> References: <200105072251.f47MpH024922@Mail-In.Net> <20010507185852.M3246@casimir.physics.purdue.edu> User-Agent: Wanderlust/2.5.4 (Smooth) SEMI/1.14.2 (=?ISO-8859-1?Q?Daish=F2?= =?ISO-8859-1?Q?ji?=) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 MULE XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) Organization: Associated I. Daemons X-PGP-Public-Key: finger knu@FreeBSD.org X-PGP-Fingerprint: 081D 099C 1705 861D 4B70 B04A 920B EFC7 9FD9 E1EE MIME-Version: 1.0 (generated by SEMI 1.14.2 - =?ISO-8859-1?Q?=22Daish=F2ji=22?=) Content-Type: text/plain; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At Mon, 7 May 2001 18:58:52 -0500, Will Andrews wrote: > > On Tue, May 08, 2001 at 01:51:18AM +0300, Maxim Sobolev wrote: > > In summary: I'm all for adding PARALLEL_SAFE but think that > > default number of jobs should be 1. > > Agreed. Okay, use this new patch then. Index: bsd.port.mk =================================================================== RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v retrieving revision 1.366 diff -u -r1.366 bsd.port.mk --- bsd.port.mk 2001/04/22 16:47:55 1.366 +++ bsd.port.mk 2001/05/08 00:16:53 @@ -404,6 +404,9 @@ # and install stages (default: see below). # MAKE_ARGS - Any extra arguments to sub-make in build and install # stages (default: none). +# MAKE_JOBS - Specify the -jN option to be added to MAKE_ARGS when +# MAKE_JOBS_SAFE is defined (default: none). +# MAKE_JOBS_SAFE - Says that the port is safe to build with make -jN. # # For install: # @@ -748,6 +751,12 @@ SCRIPTS_ENV+= PORTOBJFORMAT=${PORTOBJFORMAT} MAKE_ENV+= PORTOBJFORMAT=${PORTOBJFORMAT} PLIST_SUB+= PORTOBJFORMAT=${PORTOBJFORMAT} + +#MAKE_JOBS?= -j2 + +.if defined(MAKE_JOBS_SAFE) +MAKE_ARGS+= ${MAKE_JOBS} +.endif .if defined(MANCOMPRESSED) .if ${MANCOMPRESSED} != yes && ${MANCOMPRESSED} != no && \ -- / /__ __ Akinori.org / MUSHA.org / ) ) ) ) / FreeBSD.org / Ruby-lang.org Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp "Freeze this moment a little bit longer, make each impression a little bit stronger.. Experience slips away -- Time stand still" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message