hmm, on Mon, Oct 26, 2009 at 02:56:49AM +0000, Jacob Meuser said that > > "If a given package name cannot be found, the directories named by > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > PKG_PATH are searched. It should contain a series > > of entries separated by colons. Each entry consists of a directory > > name. URL schemes such as FTP, HTTP, HTTPS, or SCP are also > > appropriate."
later man pages go like this: If the given package names are not found in the current working directo- ry, pkg_add will search for them in each directory named by the PKG_PATH environment variable. Specifying `-' as a package name causes pkg_add to read from the standard input. i think this is inaccurate... the current working directory is never searched unless the package name starts with './' or PKG_PATH contains '.': not working: $ echo $PKG_PATH $ ls autossh-1.3.tgz $ sudo pkg_add autossh-1.3.tgz Can't find autossh-1.3.tgz Can't call method "grabPlist" on an undefined value at /usr/libdata/perl5/OpenBSD/Handle.pm line 154. working: $ PKG_PATH=. $ sudo pkg_add autossh-1.3.tgz autossh-1.3: complete or $ PKG_PATH= $ sudo pkg_add ./autossh-1.3.tgz autossh-1.3: complete -f -- i'm not religious. god willing, i never will be.