From owner-freebsd-questions Mon May 14 9:38: 2 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id A55B837B42C for ; Mon, 14 May 2001 09:37:57 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 23313 invoked by uid 100); 14 May 2001 16:37:53 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <15104.2529.405182.943371@guru.mired.org> Date: Mon, 14 May 2001 11:37:53 -0500 To: Joachim =?iso-8859-1?Q?Str=F6mbergson?= Cc: questions@freebsd.org Subject: Re: Parallel make flag to ports? In-Reply-To: <104175885@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Joachim Str=F6mbergson types: > Hi! >=20 > (This might be a newbie question, so don't kill me, ok?) >=20 > Since I have this nifty SMP system, which makes buildworlds and > kernelbuilds perform really well, I had this idea of doing the same > thing when I build ports. Now, are there: >=20 > (1) Any way of specifying system wide flags to port builds? > I browsed the Makefile in /usr/ports/ and the files under Mk/ but did= n't > see anything that seemed to be an obvious place for such things. I al= so > tried man ports without seeing any obvious relevant info or pointers.= Read through the make.conf man page, and /etc/defaults/make.conf. Then set things in /etc/make.conf. > (2) Would this generally be a good or bad idea? It may cause some ports to fail to build and/or install. Such ports should really set the -B option, but not all do. Personally, I just got into the habit of typing "make -j 10", so that if things fail, I can try again without the -j option without having to tweak /etc/make.conf. =09=09=09=09http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more inform= ation. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message