Subject: Re: problem with pkg_add and depoted packages
To: None <>
From: Joachim Kuebart <>
List: tech-pkg
Date: 03/13/2005 11:20:53

On Sat, Mar 12, 2005 at 03:41:23AM +0100,  wrote:
> I'm experiencing a problem with pkg_add when adding depoted packages: if
> the package is to be linked into the "" view, the command
> 	pkg_add -w "" digest-20021220
> yields a usage message from pkg_view. This is due to the fact that pkg_view
> gets called with an argument of "-w " (note the space) by pkg_add. So I
> applied this patch:
> [...]
> Now, the problem that remains is that fexec_skipempty() will delete the
> empty option argument to -w, and pkg_view still complains with a usage
> message.

Just to let you know, I just filed bin/29687 which solves both problems for


cu Jo

La perfection est atteinte non quand il ne reste rien à ajouter, mais quand
il ne reste rien à enlever.  (Antoine de Saint-Exupéry)