summaryrefslogtreecommitdiffstats
path: root/games/Makefile.inc
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-09-24 09:56:34 +0000
committerache <ache@FreeBSD.org>1997-09-24 09:56:34 +0000
commitf0c1bc530637947dbfe33a58a6ca0b193c1dcead (patch)
treeb27e874c69f016b91113d7a70eece3896e85afbf /games/Makefile.inc
parent115d7275ba3201ce8d8fb8e02bea55e2dbc38b1b (diff)
downloadFreeBSD-src-f0c1bc530637947dbfe33a58a6ca0b193c1dcead.zip
FreeBSD-src-f0c1bc530637947dbfe33a58a6ca0b193c1dcead.tar.gz
Back out previous fix (not work) and add more general SUIDGAME hook instead
Diffstat (limited to 'games/Makefile.inc')
-rw-r--r--games/Makefile.inc10
1 files changed, 8 insertions, 2 deletions
diff --git a/games/Makefile.inc b/games/Makefile.inc
index 8c51e8e..43c031a 100644
--- a/games/Makefile.inc
+++ b/games/Makefile.inc
@@ -2,8 +2,14 @@
BINGRP= games
.if defined(HIDEGAME)
-BINDIR?= /usr/games/hide
-BINMODE?= 550
+BINDIR= /usr/games/hide
+.if defined(SUIDGAME)
+BINOWN= games
+BINMODE= 4550
+INSTALLFLAGS+= -fschg
+.else
+BINMODE= 550
+.endif
.else
BINDIR= /usr/games
.endif
OpenPOWER on IntegriCloud