pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/bootstrap Don't set -m in mkdir_p because Interix need...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/334a6af27830
branches:  trunk
changeset: 471527:334a6af27830
user:      tv <tv%pkgsrc.org@localhost>
date:      Mon Mar 29 02:20:04 2004 +0000

description:
Don't set -m in mkdir_p because Interix needs 0775, not 0755.  Let the umask
take care of it (the mtree file will do the rest).

Use numeric gid for Interix in an unprivileged build.

diffstat:

 bootstrap/bootstrap |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (31 lines):

diff -r 0678628e3883 -r 334a6af27830 bootstrap/bootstrap
--- a/bootstrap/bootstrap       Mon Mar 29 02:18:21 2004 +0000
+++ b/bootstrap/bootstrap       Mon Mar 29 02:20:04 2004 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# $NetBSD: bootstrap,v 1.9 2004/03/28 01:55:17 grant Exp $
+# $NetBSD: bootstrap,v 1.10 2004/03/29 02:20:04 tv Exp $
 #
 #
 # Copyright (c) 2001-2002 Alistair G. Crooks.  All rights reserved.
@@ -165,7 +165,7 @@
 mkdir_p()
 {
        for dir in $@; do
-               run_cmd "($shprog ./files/install-sh -d -o $user -g $group -m 755 $dir)"
+               run_cmd "($shprog ./files/install-sh -d -o $user -g $group $dir)"
        done
 }
 
@@ -299,7 +299,9 @@
        need_bsd_install=yes
        need_sed=yes
        set_opsys=no
-       groupsprog="id -Gn"
+       # only used for unprivileged builds
+       groupsprog="id -gn"
+       # for bootstrap only; pkgsrc uses CPPFLAGS
        CC="gcc -D_ALL_SOURCE"; export CC
        ;;
 *)



Home | Main Index | Thread Index | Old Index