diff options
author | perry <perry@NetBSD.org> | 2002-01-27 00:08:49 +0000 |
---|---|---|
committer | perry <perry@NetBSD.org> | 2002-01-27 00:08:49 +0000 |
commit | 1d70d2eef0af5a7202f071f37329bee1156c632a (patch) | |
tree | 9333f97dee562c8f5999bdd6b5bc1fdb2beda11a /Makefile.inc | |
parent | 8d406ffaac16ad3ad359002b7bc36b2d3fee82c5 (diff) | |
download | bsdgames-darwin-1d70d2eef0af5a7202f071f37329bee1156c632a.tar.gz bsdgames-darwin-1d70d2eef0af5a7202f071f37329bee1156c632a.tar.zst bsdgames-darwin-1d70d2eef0af5a7202f071f37329bee1156c632a.zip |
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 (limited to 'Makefile.inc')
-rw-r--r-- | Makefile.inc | 16 |
1 files 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 |