From 1d70d2eef0af5a7202f071f37329bee1156c632a Mon Sep 17 00:00:00 2001 From: perry Date: Sun, 27 Jan 2002 00:08:49 +0000 Subject: 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 --- Makefile.inc | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/Makefile.inc b/Makefile.inc index 68a953cf..f75364c7 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -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 -- cgit v1.2.3