Source-Changes-HG archive

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

[src/trunk]: src/games Make this work if HIDEGAME is not set but SETGIDGAME i...



details:   https://anonhg.NetBSD.org/src/rev/9cefa0fe00db
branches:  trunk
changeset: 521236:9cefa0fe00db
user:      perry <perry%NetBSD.org@localhost>
date:      Sun Jan 27 00:08:49 2002 +0000

description:
Make this work if HIDEGAME is not set but SETGIDGAME is set.
Also, fix SETGIDGAME -- it was breaking for anything that included
bsd.own.mk

diffstat:

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

diffs (30 lines):

diff -r a8fbf61e9ca3 -r 9cefa0fe00db games/Makefile.inc
--- a/games/Makefile.inc        Sat Jan 26 23:57:59 2002 +0000
+++ b/games/Makefile.inc        Sun Jan 27 00:08:49 2002 +0000
@@ -1,16 +1,20 @@
-#      $NetBSD: Makefile.inc,v 1.9 1997/11/20 00:12:30 mrg Exp $
+#      $NetBSD: Makefile.inc,v 1.10 2002/01/27 00:08:49 perry Exp $
 #      @(#)Makefile.inc        8.1 (Berkeley) 5/31/93
 
 .if defined(HIDEGAME) && defined(PROG)
-BINDIR?=       /usr/games/hide
-BINGRP?=       games
+BINDIR=                /usr/games/hide
+BINGRP=                games
 .if defined(SETGIDGAME)
-BINMODE?=      2550
+BINMODE=       2550
 .else
-BINMODE?=      550
+BINMODE=       550
 .endif
 SYMLINKS+=     dm /usr/games/${PROG}
 .else
-BINDIR?=       /usr/games
+BINDIR=                /usr/games
+.if defined(SETGIDGAME)
+BINGRP=                games
+BINMODE=       2555
+.endif
 .endif
 WARNS?=                1



Home | Main Index | Thread Index | Old Index