summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2018-08-12 08:46:41 +0000
committerbsiegert <bsiegert@pkgsrc.org>2018-08-12 08:46:41 +0000
commit5610e27e63472fb11825d53b78a7bc9236902b7f (patch)
tree0bbe6dbd1b4ca4390792ded72816fb6c1479543c /bootstrap
parentfcb3017de73bd4de6db0a580602a3b30c71024d6 (diff)
downloadpkgsrc-5610e27e63472fb11825d53b78a7bc9236902b7f.tar.gz
On Chrome OS, build nbsed too.
Both sed and awk in the Chrome OS base are permanently put into sandbox mode, which makes them unsuitable for pkgsrc use. We were already building nbawk; also add nbsed.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap/bootstrap5
1 files changed, 3 insertions, 2 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index 8def6e72fc6..f798d94faf4 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.248 2018/03/07 07:34:07 rillig Exp $
+# $NetBSD: bootstrap,v 1.249 2018/08/12 08:46:41 bsiegert Exp $
#
# Copyright (c) 2001-2011 Alistair Crooks <agc@NetBSD.org>
# All rights reserved.
@@ -713,10 +713,11 @@ Linux)
need_awk=yes
elif grep -sq '^CHROMEOS_RELEASE_NAME' /etc/lsb-release; then
need_awk=yes
+ need_sed=yes
else
need_awk=no
+ need_sed=no
fi
- need_sed=no
set_opsys=no
machine_arch=`uname -m`
# Override machine_arch where required.