How To Set PKG_PATH?

Kris Kennaway kris at
Tue Mar 9 13:29:41 PST 2004

On Tue, Mar 09, 2004 at 08:17:51AM -0800, Drew Tomlinson wrote:
> Sorry if this has been covered before but I have not been able to find 
> the answer.  Where do I set PKG_PATH so portupgrade will install 
> packages from a local drive instead of attempting to 'fetch'?  I tried 
> adding 'PKG_PATH=/usr/ports/packages' to /etc/make.conf but that doesn't 
> work.  Portupgrade still tries to 'fetch'?

It's an environment variable, set it in your environment :-) Typically
this is done in a script read by your shell at login time: ~/.cshrc or
~/.tcshrc for csh or tcsh, ~/.profile for sh.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list