Subject: Re: pkg/30419: can't build devel/gmake
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Alan Barrett <apb@cequrux.com>
List: pkgsrc-bugs
Date: 06/03/2005 20:57:02
The following reply was made to PR pkg/30419; it has been noted by GNATS.

From: Alan Barrett <apb@cequrux.com>
To: Thomas Klausner <wiz@NetBSD.org>
Cc: gnats-bugs@NetBSD.org
Subject: Re: pkg/30419: can't build devel/gmake
Date: Fri, 3 Jun 2005 22:56:25 +0200

 On Fri, 03 Jun 2005, Thomas Klausner wrote:
 > Update your pkgsrc and try again.
 > In particular, pkgsrc/mk/tools/replace.mk v1.97 might fix this.
 
 I had replace.mk revision 1.95.  Updateing to revision 1.97 makes no
 difference.
 
 I note that pkgsrc/mk/tools/replace.mk (revision 1.97) contains these
 tests:
 
 	.if !defined(TOOLS_IGNORE.gmake) && !empty(_USE_TOOLS:Mgmake)
 	.  if !empty(PKGPATH:Mdevel/gmake)
 
 whereas pkgsrc/mk/tools/make.mk (revision 1.12) contains a much simpler
 test:
 
 	.if !empty(_USE_TOOLS:Mgmake)
 
 Perhaps that test in make.mk is too simple?
 
 Also, I have been unable to figure out why _USE_TOOLS ends up containing
 "gmake" when we are trying to build gmake.
 
 --apb (Alan Barrett)