Subject: Re: pkg_install compilation failure
To: dkwok <dkwok@iware.com.au>
From: grant beattie <grant@netbsd.org>
List: port-i386
Date: 01/17/2003 10:08:23
On Fri, Jan 17, 2003 at 10:02:53AM +1100, dkwok wrote:

> I have downloaded the latest pkgsrc.tar.gz from NetBSD-current.
> 
> However when update the pkg_install, it failed to compile. At this is
> the first step before any further update can be done to your packages. I
> was struck basicly.

You should probably send these type of things to tech-pkg@netbsd.org
so you hit the right audience.

> The Makefile of the pkg_install had a misssing "}" at the line:
> 
> PREFIX:=   ${PKG_TOOLS_BIN:C|/[^/]?bin$||
> 
> it should be
> 
> PREFIX:=   ${PKG_TOOLS_BIN:C|/[^/]?bin$||}
>                                           --
> 
> Hope it would be helpful to point this out. The newbie like me would
> save a lot of time pulling my hair when it did not work out.

This has already been fixed, but unfortunately the tarballs are only
updated weekly.

I recommend unpacking pkgsrc.tar.gz and then running "cvs update" to
ensure your tree is up-to-date.

grant.