Subject: Re: Fetching all distfiles for dependencies
To: None <agc@pkgsrc.org>
From: David Brownlee <abs@netbsd.org>
List: tech-pkg
Date: 11/08/2000 16:31:09
On Wed, 8 Nov 2000, Alistair Crooks wrote:

> >  	Is there a more elegant way of fetching all distfiles for
> >  	dependencies before building than 'make fetch-list|sh'?
>
> Not that I know of - in the past, I used to do "make -k fetch", but then
> again I did want to write CDs with all of the distfiles on there.
> There is nothing that I know of which is focussed on retrieving distfiles,
> although you may be able to do something like "make install
> INSTALL_TARGET=fetch" i.e. overload one of the *_TARGET defs.
>
	Thanks. Should we have a better option 'make fetch-all' or
	similar, or just document 'make fetch-list|sh'.

> >  	Also, would there be any sense in running that as the first
> >  	stage of 'make update' - so if the fetch fails nothing will
> >  	be deleted?
>
> I would think so, yes.

	If so - should it skip the test for any distfile for a package
	which has the right version currently installed?

                David/absolute
			       -- www.netbsd.org: A pmap for every occasion --