Subject: x11/Xaw3d: USE_TOOLS variable should be set
To: None <tech-pkg@NetBSD.org>
From: L. Schmidt <lems@gmx.net>
List: tech-pkg
Date: 09/05/2007 18:14:10
Hello,

while building print/gv on Ubuntu Linux, I noticed that x11/Xaw3d does
not pull in bison, flex and m4 even though it gets used.  This results in
error messages like those below:

[...]
make depend
bison -y -d laygram.y
sed -e 's/yy/LayYY/g' y.tab.c > laygram.c
sed -e 's/yy/LayYY/g' y.tab.h > laygram.h
rm -f y.tab.c y.tab.h
flex -l laylex.l
/bin/sh: flex: not found
make: *** [laylex.c] Error 127
*** Error code 2
[...]

[...]
make depend
bison -y -d laygram.y
/bin/sh: bison: not found
make: *** [laygram.c] Error 127
*** Error code 2
[...]

Setting USE_TOOLS to 'bison flex gm4' fixed this.

Leonard