Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/games Temporarily add a "MKHIDEGAME" variable that by defaul...



details:   https://anonhg.NetBSD.org/src/rev/3cc9e6bd7674
branches:  trunk
changeset: 521237:3cc9e6bd7674
user:      perry <perry%NetBSD.org@localhost>
date:      Sun Jan 27 00:35:16 2002 +0000

description:
Temporarily add a "MKHIDEGAME" variable that by default blocks the
"install some games into /usr/games/hide" dance. This is ?='ed to "no"
at the top of the file.

XXX What we should do ultimately is either add this to bsd.own.mk or
rename it to MKDM and also have it control whether dm(8) is built at all.

diffstat:

 games/Makefile.inc |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (15 lines):

diff -r 9cefa0fe00db -r 3cc9e6bd7674 games/Makefile.inc
--- a/games/Makefile.inc        Sun Jan 27 00:08:49 2002 +0000
+++ b/games/Makefile.inc        Sun Jan 27 00:35:16 2002 +0000
@@ -1,7 +1,9 @@
-#      $NetBSD: Makefile.inc,v 1.10 2002/01/27 00:08:49 perry Exp $
+#      $NetBSD: Makefile.inc,v 1.11 2002/01/27 00:35:16 perry Exp $
 #      @(#)Makefile.inc        8.1 (Berkeley) 5/31/93
 
-.if defined(HIDEGAME) && defined(PROG)
+MKHIDEGAME?=   no
+
+.if defined(HIDEGAME) && (MKHIDEGAME!=no) && defined(PROG)
 BINDIR=                /usr/games/hide
 BINGRP=                games
 .if defined(SETGIDGAME)



Home | Main Index | Thread Index | Old Index