Subject: misc/1921: /usr/usr(/gnu)/Makefile fail without game sources
To: None <>
From: Erik Bertelsen <>
List: netbsd-bugs
Date: 01/10/1996 13:46:18
>Number:         1921
>Category:       misc
>Synopsis:       Make fails in /usr/src and /usr/src/gnu with no game sources
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 10 07:05:04 1996
>Originator:     Erik Bertelsen
>Release:        NetBSD-current 9. Jan 1996
System: NetBSD 1.1A NetBSD 1.1A (EBE) #6: Tue Dec 19 12:32:29 MET 1995 i386

If you maintain your source files with the SUP collections "src" and some
of the "ksrc-xxx", you won't have the games source directories in /usr/src
and in /usr/src/gnu.

This causes make to fail in these directories, because it tries to cd to
Retrieve a source distribution by sup'ing the "src" collection.
Cd /usr/src;make
Change these Makefiles to reference games only if it exists, e.g.

    .if exists(games)
    SUBDIR+= games