Bug 29162

Summary: World will try to build games docs even when NOGAMES is defined
Product: Base System Reporter: Stewart Morgan <stewart>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Stewart Morgan 2001-07-23 12:40:00 UTC
buildworld fails when compiling certain share/doc/usd game related documents because the games directory is not there (not checked out) even though the NOGAMES flag is set.

Fix: 

SUBDIR=        title contents 04.csh 07.mail 10.exref 11.vitut 12.vi 13.viref \
-       18.msdiffs 19.memacros 20.meref 30.rogue 31.trek
+       18.msdiffs 19.memacros 20.meref
+
+.if !defined(NOGAMES)
+SUBDIR+=30.rogue 31.trek
+.endif

 .include <bsd.subdir.mk>--RDy3H1d3g1b2tV7dx3pgvNz5EQZGdSt4K2zfUyXyEuzC8usu
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- share/doc/usd/Makefile.orig Tue Jul 17 11:30:36 2001
+++ share/doc/usd/Makefile      Tue Jul 17 11:33:10 2001
@@ -10,6 +10,10 @@
 # 14.jove
How-To-Repeat: Delete /usr/src/games
define NOGAMES in /etc/make.conf
make buildworld
(or /usr/src/share/doc/usd && make)
Comment 1 dd freebsd_committer freebsd_triage 2001-08-09 07:59:20 UTC
State Changed
From-To: open->closed

Applied, thanks!  MFC will come after release.