Subject: misc/3130: build error if supped without "games"
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Drochner <drochner@zelz26.zel.kfa-juelich.de>
List: netbsd-bugs
Date: 01/21/1997 18:43:47
>Number:         3130
>Category:       misc
>Synopsis:       build fails if src/gnu/games does not exist
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 21 09:50:01 1997
>Last-Modified:
>Originator:     Matthias Drochner
>Organization:
	KFA Juelich
>Release:        current
>Environment:
	NetBSD-current
System: NetBSD zelz26 1.2 NetBSD 1.2 (TULIP) #21: Thu Nov 14 22:05:19 MET 1996 drochner@zelz28:/home/drochner/netbsd/sys/arch/i386/compile/TULIP i386


>Description:
	src/gnu/Makefile refers to a subdirectory "games" which does
not necessarily exist. 
>How-To-Repeat:
	cd /usr/src; make build
>Fix:
	similar to main Makefile:
*** 3,7 ****
  SUBDIR+= lib usr.bin
  .if (${MACHINE_ARCH} != "alpha")
! SUBDIR+= games libexec
  .endif

--- 3,10 ----
  SUBDIR+= lib usr.bin
  .if (${MACHINE_ARCH} != "alpha")
! .if exists(games)
! SUBDIR+= games
! .endif
! SUBDIR+= libexec
  .endif

>Audit-Trail:
>Unformatted: