pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk pkg PR/36618 - fix UNPRIVILEGED_GROUP definition fo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6fc4f1e2c991
branches:  trunk
changeset: 568956:6fc4f1e2c991
user:      abs <abs%pkgsrc.org@localhost>
date:      Wed Dec 30 12:21:15 2009 +0000

description:
pkg PR/36618 - fix UNPRIVILEGED_GROUP definition for Interix

diffstat:

 mk/unprivileged.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 00a9c024c02d -r 6fc4f1e2c991 mk/unprivileged.mk
--- a/mk/unprivileged.mk        Wed Dec 30 12:07:31 2009 +0000
+++ b/mk/unprivileged.mk        Wed Dec 30 12:21:15 2009 +0000
@@ -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!=    ${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



Home | Main Index | Thread Index | Old Index