summaryrefslogtreecommitdiff
path: root/bootstrap/bootstrap
diff options
context:
space:
mode:
authorhans <hans>2011-11-29 15:06:20 +0000
committerhans <hans>2011-11-29 15:06:20 +0000
commit041929dfc85ace9031fe78b75374b639f29ba22e (patch)
tree68fc565ca92378d5d5191d917006c171d43752d8 /bootstrap/bootstrap
parent72222a1d923c3cfd18be78e6b0f673b1b9ad7803 (diff)
downloadpkgsrc-041929dfc85ace9031fe78b75374b639f29ba22e.tar.gz
On SunOS, don't build nawk if a native one is available.
Diffstat (limited to 'bootstrap/bootstrap')
-rwxr-xr-xbootstrap/bootstrap4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index 2143a00dd8c..7e8dc187a00 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.171 2011/10/04 11:37:38 hans Exp $
+# $NetBSD: bootstrap,v 1.172 2011/11/29 15:06:20 hans Exp $
#
# Copyright (c) 2001-2011 Alistair Crooks <agc@NetBSD.org>
# All rights reserved.
@@ -666,7 +666,7 @@ SunOS)
fi
root_group=root
need_bsd_install=yes
- if [ -x "/usr/gnu/bin/awk" ]; then
+ if [ -x "/usr/gnu/bin/awk" -o -x "/usr/bin/nawk" ]; then
need_awk=no
else
need_awk=yes