On Fri, Mar 18, 2011 at 10:15:06AM +0200, Gregory Edigarov wrote:
> Hello,
> 
> Is this working ever?
Yes
> Yesterday I was trying to add a certain packages and wanted them to
> reside in the very separate base (/usr/opt) so them will be easilly
> removed after my trial of them.
> I did 'pkg_add -L /usr/opt/<package name>  package' and got:
> pkg_add: Unknown option -L
> Usage: pkg_add [-acIinqrsUuvxz] [-A arch] [-B pkg-destdir] [-D
> name[=value]] [-L localbase] [-l file] [-P type] [-Q quick-destdir]
> pkg-name [...] 
> 
> What am I missing?

I broke it while unifying options between various pkgtools.
It's back, as a common option in AddCreateDelete.

Code to handle localbase in pkg_add/pkg_create/pkg_delete was still there,
just not used...

those options tend to get broken without anyone noticing for a long time,
since they're seldom used. I guess I should write some more regress tests, 
which will take some more time, unless someone beats me to it.

Reply via email to