Read-only ports, but shared distfiles ...

Edwin Groothuis edwin at mavetju.org
Wed Dec 12 13:41:06 PST 2007


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 at mavetju.org    |              Weblog: http://www.mavetju.org/weblog/


More information about the freebsd-ports mailing list