diff options
author | obache <obache@pkgsrc.org> | 2013-02-20 12:42:43 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2013-02-20 12:42:43 +0000 |
commit | a5072925ecbbf8fc9eddf31a5959c791d16e2ec7 (patch) | |
tree | 299ce4b7ce29487c7f7030011412eb51e5711857 /mk | |
parent | 97b1ab884295ba688a6a2224626f3d7f677680f3 (diff) | |
download | pkgsrc-a5072925ecbbf8fc9eddf31a5959c791d16e2ec7.tar.gz |
Fixes ROOT_GROUP setting for Cygwin.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/platform/Cygwin.mk | 6 |
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` |