From owner-freebsd-ports Tue Jul 9 14:43:59 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1418737B401 for ; Tue, 9 Jul 2002 14:43:57 -0700 (PDT) Received: from cmailg5.svr.pol.co.uk (cmailg5.svr.pol.co.uk [195.92.195.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34B2E43E3B for ; Tue, 9 Jul 2002 14:43:56 -0700 (PDT) (envelope-from paul@freebsd-services.com) Received: from modem-388.barrelled.dialup.pol.co.uk ([62.25.141.132] helo=mailgate.originative.co.uk) by cmailg5.svr.pol.co.uk with esmtp (Exim 3.35 #1) id 17S2m2-0001IY-00; Tue, 09 Jul 2002 22:43:54 +0100 Received: from lobster.originative.co.uk (lobster.originative.co.uk [10.0.0.254]) by mailgate.originative.co.uk (Postfix) with ESMTP id B95FF1D13D; Tue, 9 Jul 2002 22:43:52 +0100 (BST) Subject: Re: pre-everything targets From: Paul Richards To: Paul Richards Cc: ports@freebsd.org In-Reply-To: <1026198612.1688.5.camel@lobster.originative.co.uk> References: <1026198612.1688.5.camel@lobster.originative.co.uk> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Date: 09 Jul 2002 22:44:08 +0100 Message-Id: <1026251048.76871.16.camel@lobster.originative.co.uk> Mime-Version: 1.0 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, 2002-07-09 at 08:10, Paul Richards wrote: > Can we change the policy on using the pre-everything target so that it > doesn't do anything pre-fetch unless it really does affect whether the > fetch takes place? As a followup to my own message.... It would be useful to vendors if we could run 'make fetch' to grab all the distfiles. Having given this a try there are lots of niggles with doing so. In a number of cases ports will check conditions to determine if the port should be built and either exit, which aborts a complete tree traversal, pop up an interactive dialog, or just skip the fetch phase completely. There was even a case where a dependency kicked off and starting building another port. I'd like to see the fetch target cleaned up so that a 'make fetch' just fetches the distfiles and for conditions to be checked before an extract or build. At the very least, a variable that always allowed distfiles to be fetched would be an improvement so that vendors can easily collect distfiles. Also, some conditions need to be cleaned up as well. For instance, to avoid interactive dialogs stopping the tree traversal I set BATCH, but this isn't a clean solution, since some ports that are interactive skip the fetch step if BATCH is set. I think the meaning of these options need to be clarified with respect to each target. There's also another issue with the fetch target, that's not incorrect but isn't suited to vendor use. Some ports do a cvs co from a repository as their fetch target, it'd be useful if this could be done differently so that just distfiles can be fetched and other forms of obtaining sources could be done separately. -- Paul Richards | FreeBSD Services Ltd | Order 4.6.1 on DVD now. http://www.freebsd-services.com | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message