Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Dec 2007 08:41:03 +1100
From:      Edwin Groothuis <edwin@mavetju.org>
To:        "Marc G. Fournier" <scrappy@hub.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Read-only ports, but shared distfiles ...
Message-ID:  <20071212214103.GF40969@k7.mavetju>
In-Reply-To: <52A93D1858C76C8A29A58675@ganymede.hub.org>
References:  <52A93D1858C76C8A29A58675@ganymede.hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071212214103.GF40969>