summaryrefslogtreecommitdiff
path: root/mk/platform/SunOS.mk
diff options
context:
space:
mode:
authorsketch <sketch>2009-01-14 23:33:48 +0000
committersketch <sketch>2009-01-14 23:33:48 +0000
commitfa724ced3d1c01e566d20182205c5b1ca498b761 (patch)
treea35144ede8d170db8ed91886dce8f65ed2327e85 /mk/platform/SunOS.mk
parente097a857800ff20ae02538367950337ee299ac26 (diff)
downloadpkgsrc-fa724ced3d1c01e566d20182205c5b1ca498b761.tar.gz
While user/group 'games' does not exist by default on Solaris, it will
get created correctly if SETGIDGAME=yes and this avoids ugly errors from check-files.mk
Diffstat (limited to 'mk/platform/SunOS.mk')
-rw-r--r--mk/platform/SunOS.mk19
1 files changed, 9 insertions, 10 deletions
diff --git a/mk/platform/SunOS.mk b/mk/platform/SunOS.mk
index ba928f1262e..f643e855177 100644
--- a/mk/platform/SunOS.mk
+++ b/mk/platform/SunOS.mk
@@ -1,4 +1,4 @@
-# $NetBSD: SunOS.mk,v 1.35 2008/12/12 15:35:34 sketch Exp $
+# $NetBSD: SunOS.mk,v 1.36 2009/01/14 23:33:48 sketch Exp $
#
# Variable definitions for the SunOS/Solaris operating system.
@@ -93,12 +93,11 @@ PKG_TOOLS_BIN?= ${LOCALBASE}/sbin
# (it defaults to 'no' as per defaults/mk.conf).
# Set the group and mode to meaningful values in that case (defaults to
# BINOWN, BINGRP and BINMODE as per defaults/mk.conf).
-# FIXME: Adjust to work on this system and enable the lines below.
-#.if !(empty(SETGIDGAME:M[yY][eE][sS]))
-#GAMES_USER= games
-#GAMES_GROUP= games
-#GAMEOWN= ${GAMES_USER}
-#GAMEGRP= ${GAMES_GROUP}
-#GAMEMODE= 2555
-#GAMEDIRMODE= 0775
-#.endif
+.if !(empty(SETGIDGAME:M[yY][eE][sS]))
+GAMES_USER= games
+GAMES_GROUP= games
+GAMEOWN= ${GAMES_USER}
+GAMEGRP= ${GAMES_GROUP}
+GAMEMODE= 2555
+GAMEDIRMODE= 0775
+.endif