Subject: fortune makefiles incorrect ?
To: None <current-users@netbsd.org>
From: Darren Reed <darrenr@reed.wattle.id.au>
List: current-users
Date: 09/05/1999 15:22:02
Building a -current fortune, it fails as follws:

all ===> games/fortune
all ===> games/fortune/fortune
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Werror 
 -I/current/usr/src/games/fortune/fortune/../strfile -DHAVE_REGCOMP -nostdinc -i
dirafter /current/usr/include -c /current/usr/src/games/fortune/fortune/fortune.
c
cc   -o fortune -nostdlib -L/current/usr/lib /current/usr/lib/crt0.o /current/us
r/lib/crtbegin.o fortune.o  -lgcc -lc -lgcc /current/usr/lib/crtend.o
nroff -Tascii -mandoc /current/usr/src/games/fortune/fortune/fortune.6 > fortune
.cat6
all ===> games/fortune/strfile
cc -O  -c /current/usr/src/games/fortune/strfile/strfile.c
In file included from /current/usr/src/games/fortune/strfile/strfile.c:61:
/current/usr/src/games/fortune/strfile/strfile.h:42: sys/endian.h: No such file
or directory
*** Error code 1

Notably the last "cc -O .." is missing numerous cc options.

Darren