Subject: bison and tools.mk
To: None <tech-kern@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-kern
Date: 03/21/2004 21:11:44
Hi,
I've a problem with net/libIDL: Makefile has
USE_GNU_TOOLS+=         lex yacc

which causes work.funk/.tools/bin/yacc to be linked to /usr/pkg/bin/bison
but the configure script wants to use 'bison' and not 'yacc', and fails:
checking whether yytext is a pointer... yes
checking for bison... /usr/pkg/bin/bison -y
checking for /usr/pkg/bin/bison... no
configure: error: /usr/pkg/bin/bison -y is not usable as yacc - consider using bison
*** Error code 1

Shoud I patch the configure script, or is there another way to handle this ?

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--