Subject: Re: how to fetch all distfiles for a port before building?
To: None <tech-pkg@netbsd.org>
From: Julien Letessier <julien.letessier@sun.com>
List: tech-pkg
Date: 09/04/2002 11:28:30
Paul (NCC/CS) wrote:
> Hi again,
> 
> In freebsd if you do "make fetch" it's supposed to get all
> required distfiles first . That is handy if you're on a home
> modem. But when I try make fetch in netbsd it only gets
> the first distfile, and not the dependent ones.
> 
> Is there a makefile target to get "all" the dependent distfiles
> so that it can then be built later in a second step?

make fetch-list | sh does the trick. from Packages.txt:

$ make fetch-list FETCH_CMD=wget DISTDIR=/tmp/distfiles >/tmp/fetch.sh

alternatively, you can give lintpkgsrc from pkgtools/pkglint a try.

Cheers,
-- 
Julien T. Letessier
Sun Labs Europe, Meylan, France
julien.letessier@sun.com