summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorobache <obache>2009-12-13 08:35:22 +0000
committerobache <obache>2009-12-13 08:35:22 +0000
commitc936aac062e621a5287de1a565b10b0e5de17b11 (patch)
treee4c74410c9ed579a24fbc4b0214970d8a5440ab5 /bootstrap
parent5bc503e123f9e4a71937b36b2ada60d362d7fb07 (diff)
downloadpkgsrc-c936aac062e621a5287de1a565b10b0e5de17b11.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-xbootstrap/bootstrap23
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