Subject: bin/2116: fortunes/ fortunes-o depends on caesar
To: None <gnats-bugs@NetBSD.ORG>
From: Joao Paulo G. Nacao <>
List: netbsd-bugs
Date: 02/23/1996 15:18:04
>Number:         2116
>Category:       bin
>Synopsis:       if caesar isn't installed, make fortune leads an empty fortunes-o file
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 23 13:50:02 1996
>Originator:     Joao Paulo G. Nacao
LIN-Nuclear Instrumenation Labs. - COPPE - UFRJ
>Release:        1.1

System: NetBSD 1.1 NetBSD 1.1 (INSTADP) #0: Fri Nov 24 06:06:48 PST 1995 i386


	After instaled my system I discovered forget to instal games.
Whem building games, notice that fortune uses caesar to generate the
fortunes-o file:

/caesar/caesar > fortunes-o
/usr/games/caesar: not found
*** Error code 2

	If someone tries again it continues as OK but leaves an empty
fortunes-o file.


	Install NetBSD-1.1 without games package and try to compile fortune


	Change the Makefile in fortunes-o from:

fortunes-o: fortunes-o.${TYPE}
       /usr/games/caesar 13 < ${.ALLSRC} > ${.TARGET}


fortunes-o: fortunes-o.${TYPE} $(.CURDIR)/../../caesar/caesar
        $(.CURDIR)/../../caesar/caesar 13 < ${.ALLSRC} > ${.TARGET}