summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2009-12-30 12:21:15 +0000
committerabs <abs@pkgsrc.org>2009-12-30 12:21:15 +0000
commitb915c68e7c8881c9a5ff3d56bd52f98084b66c7b (patch)
tree6eda45e1282736d67c64f931f674d01c78b7086a /mk
parent48708e5d25cfecdc8746e426bd7fa6f2afafa4c2 (diff)
downloadpkgsrc-b915c68e7c8881c9a5ff3d56bd52f98084b66c7b.tar.gz
pkg PR/36618 - fix UNPRIVILEGED_GROUP definition for Interix
Diffstat (limited to 'mk')
-rw-r--r--mk/unprivileged.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/unprivileged.mk b/mk/unprivileged.mk
index 67095dd9655..7aaa5469398 100644
--- a/mk/unprivileged.mk
+++ b/mk/unprivileged.mk
@@ -1,4 +1,4 @@
-# $NetBSD: unprivileged.mk,v 1.17 2008/11/27 19:28:01 rillig Exp $
+# $NetBSD: unprivileged.mk,v 1.18 2009/12/30 12:21:15 abs Exp $
#
# This file collects definitions that are useful when using pkgsrc as an
# unprivileged (non-root) user. It is included automatically by the
@@ -129,7 +129,11 @@ _UNPRIVILEGED+= user-destdir
UNPRIVILEGED_USER!= ${ID} -n -u
. endif
. if !defined(UNPRIVILEGED_GROUP) || empty(UNPRIVILEGED_GROUP)
+. if "$(OPSYS)" == "Interix" # For at least Interix 3.5 SP-8.0.1969.1
+UNPRIVILEGED_GROUP!= ${ID} -g
+. else
UNPRIVILEGED_GROUP!= ${ID} -n -g
+. endif
. endif
. if !defined(UNPRIVILEGED_GROUPS) || empty(UNPRIVILEGED_GROUPS)
UNPRIVILEGED_GROUPS!= ${ID} -n -G