Subject: Re: pkgsrc - how to use (some, not all) sources directly from hdd?
To: Geert Hendrickx <ghen@NetBSD.org>
From: Adrian Portelli <adrianp@stindustries.net>
List: netbsd-users
Date: 11/20/2006 13:22:40
Geert Hendrickx wrote:
> On Mon, Nov 20, 2006 at 01:57:52PM +0100, Zbigniew Baniewski wrote:
>> On Sun, Nov 19, 2006 at 10:47:54PM -0500, Kevin Brunelle wrote:
>>> 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.
>> The problem is, that jdk14 isn't in "normal" pkgsrc - it's from s.c.
>> "pkgsrc-wip", which doesn't have any "distfiles" sub-dir in it's tree.
>> Yes, I created /usr/pkgsrc/distfiles "manually", copied there the source
>> files, and... it is still searching the Internet.
> 
> What does "make show-var VARNAME=DISTDIR" say?  Put (or symlink) them there.
> 
> 	Geert

FYI: If you want to find out if the ${DISTFILES} are in a subdirectory
off ${DISTDIR} you will need the output of:

make show-var VARNAME=DIST_SUBDIR

AFAIK ${DISTDIR} just contains the base directory.

adrian.