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 reply was made to PR pkg/36618; it has been noted by GNATS.

From: Aleksey Cheusov <cheusov%tut.by@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: interix-pkg-people%NetBSD.org@localhost,  pkg-manager%netbsd.org@localhost,
          pkgsrc-bugs%netbsd.org@localhost,  gnats-admin%netbsd.org@localhost,  
snj%netbsd.org@localhost
Subject: Re: pkg/36618 (./bootstrap --unprivileged failes on Interix)
Date: Sat, 13 Sep 2008 10:55:07 +0300

 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