Subject: Re: Question/Problem building pkg_install
To: Christopher W. Richardson <cwr@nexthop.com>
From: Johnny C. Lam <jlam@NetBSD.org>
List: tech-pkg
Date: 02/20/2004 07:26:53
On Thu, Feb 19, 2004 at 07:11:29PM -0500, Christopher W. Richardson wrote:
> 
> I've managed to track down the offending command to line 213 of
> mk/compiler/gcc.mk:
> 
>  if ${PKG_INFO} -qe ${_GCC_PKGBASE}; then \
> 
> where, presumably, ${_GCC_PKGBASE} is undefined.  I'll continue
> trying to look at this, but any tips/hints/suggestions continue
> to be welcome (for those not having followed this thread, I'm
> failing to build pkg_install after a cvs up of the entire pkgsrc
> tree; and I'm running 1.5.2 i386).

Try updating your pkgsrc again.  You'll need at least revision 1.55 of
pkgsrc/mk/compiler/gcc.mk to test the fix.  Also, if you could run
the following commands and provide the output, that would be very
enlightening:

	cd pkgsrc/pkgtools/pkg_install
	make show-var VARNAME=_GCC_REQD

	Thanks,

	-- Johnny Lam <jlam@NetBSD.org>