No need to use pkgsrc bsd_install, awk, sed and xargs for SUA 6.0 on bootstrap.
XXX: If someone confirmed SUA 5.2 also so, please adjust "3.* | 5.*)" to "3.*)".
This commit is contained in:
parent
ba5ea2a581
commit
c8919f5917
1 changed files with 17 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
# $NetBSD: bootstrap,v 1.150 2009/08/01 20:19:37 dholland Exp $
|
# $NetBSD: bootstrap,v 1.151 2009/12/13 08:35:22 obache Exp $
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# Copyright (c) 2001-2002 Alistair G. Crooks. All rights reserved.
|
# Copyright (c) 2001-2002 Alistair G. Crooks. All rights reserved.
|
||||||
|
@ -596,11 +596,22 @@ Interix)
|
||||||
default_install_mode=0775
|
default_install_mode=0775
|
||||||
root_user=`id -u`
|
root_user=`id -u`
|
||||||
root_group=131616
|
root_group=131616
|
||||||
need_bsd_install=yes
|
case `uname -r` in
|
||||||
need_awk=yes
|
3.* | 5.*)
|
||||||
need_sed=yes
|
need_bsd_install=yes
|
||||||
set_opsys=no
|
need_awk=yes
|
||||||
need_xargs=yes
|
need_sed=yes
|
||||||
|
set_opsys=no
|
||||||
|
need_xargs=yes
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
need_bsd_install=no
|
||||||
|
need_awk=no
|
||||||
|
need_sed=no
|
||||||
|
set_opsys=no
|
||||||
|
need_xargs=no
|
||||||
|
;;
|
||||||
|
esac
|
||||||
# only used for unprivileged builds
|
# only used for unprivileged builds
|
||||||
groupsprog="id -gn"
|
groupsprog="id -gn"
|
||||||
# for bootstrap only; pkgsrc uses CPPFLAGS
|
# for bootstrap only; pkgsrc uses CPPFLAGS
|
||||||
|
|
Loading…
Reference in a new issue