From owner-freebsd-ports@FreeBSD.ORG Wed Dec 12 21:41:06 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34AD716A417 for ; Wed, 12 Dec 2007 21:41:06 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from mail5out.barnet.com.au (mail5.barnet.com.au [202.83.178.78]) by mx1.freebsd.org (Postfix) with ESMTP id 0383813C4D5 for ; Wed, 12 Dec 2007 21:41:05 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: by mail5out.barnet.com.au (Postfix, from userid 1001) id 98D832218BA9; Thu, 13 Dec 2007 08:41:04 +1100 (EST) X-Viruscan-Id: <4760557000002338663628@BarNet> Received: from mail5auth.barnet.com.au (mail5.barnet.com.au [202.83.178.78]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail5auth.barnet.com.au", Issuer "*.barnet.com.au" (verified OK)) by mail5.barnet.com.au (Postfix) with ESMTP id 12D9F21B189E; Thu, 13 Dec 2007 08:41:04 +1100 (EST) Received: from k7.mavetju (k7.mavetju.org [10.251.1.18]) by mail5auth.barnet.com.au (Postfix) with ESMTP id B51772218A75; Thu, 13 Dec 2007 08:41:03 +1100 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id 7B2FE249; Thu, 13 Dec 2007 08:41:03 +1100 (EST) Date: Thu, 13 Dec 2007 08:41:03 +1100 From: Edwin Groothuis To: "Marc G. Fournier" Message-ID: <20071212214103.GF40969@k7.mavetju> References: <52A93D1858C76C8A29A58675@ganymede.hub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52A93D1858C76C8A29A58675@ganymede.hub.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-ports@freebsd.org Subject: Re: Read-only ports, but shared distfiles ... X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Dec 2007 21:41:06 -0000 On Wed, Dec 12, 2007 at 05:12:52PM -0400, Marc G. Fournier wrote: > I have my /etc/make.conf setup as: > > DISTDIR=/home/ports/distfiles > WRKDIRPREFIX=/home/ports > INDEXDIR=/home/ports > > so that any distfiles that need to be downloaded, can be ... but, is there > some way I can set thing sup so that anything that already exists *in* > /usr/ports/distfiles will get used before downloading a whole new copy? You might want to try CD_MOUNTPTS, or MASTER_SITE_OVERRIDE=file:/usr/ports/distfiles/${DIST_SUBDIR}, and FETCH_SYMLINK_DISTFILES Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://www.mavetju.org/weblog/