On Sun, 4 Jan 2009, Wim Lewis wrote:

> I was unable to compile (a port that depends on) gtk2mm, after having done a 
> make index & readmes.
> Below is a patch that fixes the problem.
> 
> The build fails with "/usr/sbin/pkg_create: Exactly one single package name 
> is required". The problem
> is an unquoted shell expansion of a dependency spec in bsd.port.mk --- if the 
> spec, interpreted
> as a shell glob (which it isn't), matches some files in the port's directory, 
> then it gets expanded
> into multiple words and pkg_create fails with an unexpected error message. 
> Looks like this bug has
> been reported a few times before, e.g. Igor Zinovik's message of 2-May-2008.

You are absolutely right.
I fell into this bug before but didn't have time to look into it.

IIRC kurt@ reported this bug a long time ago when he was trying to build 
xulrunner-devel dependent ports while he had some xulrunner-x.y.z.log 
file under devel/xulrunner.

Thanks!

-- 
Antoine

Reply via email to