From owner-freebsd-ports Tue Dec 19 23:43:30 2000 From owner-freebsd-ports@FreeBSD.ORG Tue Dec 19 23:43:27 2000 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.189]) by hub.freebsd.org (Postfix) with SMTP id 6E40D37B400 for ; Tue, 19 Dec 2000 23:43:19 -0800 (PST) Received: (qmail 2053 invoked by uid 1000); 20 Dec 2000 07:41:57 -0000 Date: Wed, 20 Dec 2000 09:41:57 +0200 From: Peter Pentchev To: Alfred Perlstein Cc: asami@FreeBSD.org, ports@FreeBSD.org Subject: Re: ports lockfile? Message-ID: <20001220094157.C644@ringworld.oblivion.bg> Mail-Followup-To: Alfred Perlstein , asami@FreeBSD.org, ports@FreeBSD.org References: <20001219113535.Q19572@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001219113535.Q19572@fw.wintelcom.net>; from bright@wintelcom.net on Tue, Dec 19, 2000 at 11:35:35AM -0800 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Dec 19, 2000 at 11:35:35AM -0800, Alfred Perlstein wrote: > I'm pretty sure I've mentioned this before, I got a lot of approval > for the idea, but I don't have the time and familiarity with the > ports mk files to do what I propose. > > Usually when doing an install I'll start building several ports in > at the same time The problem is that frequently the ports will > recurse into the same dependancy, and the two builds will clobber > each other. FWIW, yes, I verily support this idea :) > I tried to figure out some way for the ports to use the 'lockf' > utility on the port makefile in order to protect it, but I can't > seem to figure out how and where to use lockf. > > We'd need some pre-pre-pre make step to do this I imagine, anyone > want to try to do this? Is it a good idea? There seems to already be a pre-everything target, which is invoked for old port layouts and for bad utilities version; there also is a default pre-everything target, with nothing but a DO_NADA there. This would seem like a good place for acquiring the lock. G'luck, Peter -- I am the meaning of this sentence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message