diff options
author | hans <hans> | 2011-11-29 15:06:20 +0000 |
---|---|---|
committer | hans <hans> | 2011-11-29 15:06:20 +0000 |
commit | 1c33f270749498b4fa12d551e0689bcd193614df (patch) | |
tree | 68fc565ca92378d5d5191d917006c171d43752d8 /bootstrap | |
parent | 08b9e5cbfec942ea34f0e0056389e17c926bbcd7 (diff) | |
download | pkgsrc-1c33f270749498b4fa12d551e0689bcd193614df.tar.gz |
On SunOS, don't build nawk if a native one is available.
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap/bootstrap | 4 |
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 |