diff options
author | obache <obache@pkgsrc.org> | 2009-12-13 08:35:22 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2009-12-13 08:35:22 +0000 |
commit | c8919f591734e2ea9c5672629caf73b924940d22 (patch) | |
tree | e4c74410c9ed579a24fbc4b0214970d8a5440ab5 /bootstrap | |
parent | ba5ea2a58101e4373744dec07c97c1d1ece15de7 (diff) | |
download | pkgsrc-c8919f591734e2ea9c5672629caf73b924940d22.tar.gz |
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.*)".
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap/bootstrap | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap index b9d28c44228..4afbec38688 100755 --- a/bootstrap/bootstrap +++ b/bootstrap/bootstrap @@ -1,6 +1,6 @@ #! /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. @@ -596,11 +596,22 @@ Interix) default_install_mode=0775 root_user=`id -u` root_group=131616 - need_bsd_install=yes - need_awk=yes - need_sed=yes - set_opsys=no - need_xargs=yes + case `uname -r` in + 3.* | 5.*) + need_bsd_install=yes + need_awk=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 groupsprog="id -gn" # for bootstrap only; pkgsrc uses CPPFLAGS |