Subject: Re: pkgsrc - how to use (some, not all) sources directly from hdd?
To: Zbigniew Baniewski <email@example.com>
From: Kevin Brunelle <firstname.lastname@example.org>
Date: 11/19/2006 22:47:54
On Sunday 19 November 2006 21:38, Zbigniew Baniewski wrote:
> I'm trying to build jre14 plugin for Firefox - but there's a little(?)
> problem: pkgsrc still's trying to fetch the files, which aren't available
> at the locations given in Makefile, and which I had to take directly from
> Sun's website (there was registering needed).
> And so my question: how to tell to pkgsrc "this source package is available
> on the hdd already at location /some/path/to/package, don't search the net
> - just use it"? Of course, I would still to let pkgsrc fetch the other
> packages, when needed.
Just move it to /usr/pkgsrc/distfiles (or whereever pkgsrc is located for
you). It will then be found and everything will proceed as expected. I am
not sure there is a method to do exactly what you're describing (leaving the
file where you downloaded it) and believe it would just complicate things.