pkgsrc-Bugs archive

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

Re: pkg/36618 (./bootstrap --unprivileged failes on Interix)



The following patch fixes this problem.

Index: mk/unprivileged.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/unprivileged.mk,v
retrieving revision 1.16
diff -u -r1.16 unprivileged.mk
--- mk/unprivileged.mk  4 Mar 2008 06:45:33 -0000       1.16
+++ mk/unprivileged.mk  13 Sep 2008 07:21:57 -0000
@@ -129,7 +129,11 @@
 UNPRIVILEGED_USER!=    ${ID} -n -u
 .  endif
 .  if !defined(UNPRIVILEGED_GROUP) || empty(UNPRIVILEGED_GROUP)
+.    if "$(OPSYS)" == "Interix"
+UNPRIVILEGED_GROUP!=   ${ID} -g
+.    else
 UNPRIVILEGED_GROUP!=   ${ID} -n -g
+.    endif
 .  endif
 .  if !defined(UNPRIVILEGED_GROUPS) || empty(UNPRIVILEGED_GROUPS)
 UNPRIVILEGED_GROUPS!=  ${ID} -n -G

-- 
Best regards, Aleksey Cheusov.


Home | Main Index | Thread Index | Old Index