From nobody@FreeBSD.org  Mon Jul 23 04:32:41 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id ACCE637B401
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 23 Jul 2001 04:32:41 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f6NBWfa18137;
	Mon, 23 Jul 2001 04:32:41 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200107231132.f6NBWfa18137@freefall.freebsd.org>
Date: Mon, 23 Jul 2001 04:32:41 -0700 (PDT)
From: Stewart Morgan <stewart@nameless-uk.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: World will try to build games docs even when NOGAMES is defined
X-Send-Pr-Version: www-1.0

>Number:         29162
>Category:       misc
>Synopsis:       World will try to build games docs even when NOGAMES is defined
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 23 04:40:00 PDT 2001
>Closed-Date:    Wed Aug 8 23:59:20 PDT 2001
>Last-Modified:  Wed Aug 08 23:59:36 PDT 2001
>Originator:     Stewart Morgan
>Release:        -stable
>Organization:
Nameless-UK
>Environment:
FreeBSD laxmi 4.3-STABLE FreeBSD 4.3-STABLE #0: Wed Jul 18 18:25:54 BST 2001     root@:/usr/src/sys/compile/LAXMI  i386
>Description:
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.
>How-To-Repeat:
Delete /usr/src/games
define NOGAMES in /etc/make.conf
make buildworld
(or /usr/src/share/doc/usd && make)
>Fix:
--- 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

 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>

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: dd 
State-Changed-When: Wed Aug 8 23:59:20 PDT 2001 
State-Changed-Why:  
Applied, thanks!  MFC will come after release. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29162 
>Unformatted:
