Subject: Re: USE_GNU_TOOLS broken for GNU tools
To: None <tech-pkg@netbsd.org>
From: Klaus Heinz <k.heinz.dez.drei@onlinehome.de>
List: tech-pkg
Date: 12/05/2003 01:24:41
Jonathan Perkin wrote:

> but tools.mk currently disables USE_GNU_TOOLS for all GNU tools
> supported by it, losing the gawk build (probably not noticed before
> because people are likely to have gmake already installed).
> 
> 	+ cd /tmp/pkgsrc/lang/gawk/work.desk06/gawk-3.1.3
> 	+ ... /home/jonp/pkg/bin/gmake -f Makefile all
> 	/usr/bin/env: No such file or directory
> 	*** Error code 127
> 
> 	/home/jonp/pkg/bin/gmake: No such file or directory

This also happens on NetBSD.

> The attached patch fixes the problem, but I'd like some comments
> in case I missed something obvious.

It works for me as well and the solution to exclude the tool in
_IGNORE_GNU_TOOL from USE_GNU_TOOLS instead of ignoring all of them
seems to be correct.

ciao
     Klaus