summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-02-20 12:42:43 +0000
committerobache <obache@pkgsrc.org>2013-02-20 12:42:43 +0000
commit559045744dfc27ddfa088465f9f84b125a0b01a3 (patch)
tree299ce4b7ce29487c7f7030011412eb51e5711857 /mk
parent60318d6f235d1c9a53e6dbac6461d5a1648df1f1 (diff)
downloadpkgsrc-559045744dfc27ddfa088465f9f84b125a0b01a3.tar.gz
Fixes ROOT_GROUP setting for Cygwin.
Diffstat (limited to 'mk')
-rw-r--r--mk/platform/Cygwin.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/platform/Cygwin.mk b/mk/platform/Cygwin.mk
index 7934dc3b0cc..15d16bf7c41 100644
--- a/mk/platform/Cygwin.mk
+++ b/mk/platform/Cygwin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: Cygwin.mk,v 1.2 2013/02/15 09:22:50 obache Exp $
+# $NetBSD: Cygwin.mk,v 1.3 2013/02/20 12:42:43 obache Exp $
#
# Variable definitions for the Windows with Cygwin.
@@ -54,7 +54,9 @@ PKGDIRMODE?= 775
# ROOT_USER might be numeric in the special case of Administrator; canonify it:
ROOT_CMD?= ${SU} - "$$(id -un ${ROOT_USER})" -c
ROOT_USER?= ${BINOWN}
-ROOT_GROUP?= id -g Administraotr
+.if !defined(ROOT_GROUP)
+ROOT_GROUP!= id -g Administrators
+.endif
TOUCH_FLAGS?=
ULIMIT_CMD_datasize?= ulimit -d `ulimit -H -d`
ULIMIT_CMD_stacksize?= ulimit -s `ulimit -H -s`