Sun Aug 12 08:46:41 2018 UTC ()
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.


(bsiegert)
diff -r1.248 -r1.249 pkgsrc/bootstrap/bootstrap

cvs diff -r1.248 -r1.249 pkgsrc/bootstrap/bootstrap (expand / switch to unified diff)

--- pkgsrc/bootstrap/bootstrap 2018/03/07 07:34:07 1.248
+++ pkgsrc/bootstrap/bootstrap 2018/08/12 08:46:41 1.249
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1#! /bin/sh 1#! /bin/sh
2 2
3# $NetBSD: bootstrap,v 1.248 2018/03/07 07:34:07 rillig Exp $ 3# $NetBSD: bootstrap,v 1.249 2018/08/12 08:46:41 bsiegert Exp $
4# 4#
5# Copyright (c) 2001-2011 Alistair Crooks <agc@NetBSD.org> 5# Copyright (c) 2001-2011 Alistair Crooks <agc@NetBSD.org>
6# All rights reserved. 6# All rights reserved.
7# 7#
8# Redistribution and use in source and binary forms, with or without 8# Redistribution and use in source and binary forms, with or without
9# modification, are permitted provided that the following conditions 9# modification, are permitted provided that the following conditions
10# are met: 10# are met:
11# 1. Redistributions of source code must retain the above copyright 11# 1. Redistributions of source code must retain the above copyright
12# notice, this list of conditions and the following disclaimer. 12# notice, this list of conditions and the following disclaimer.
13# 2. Redistributions in binary form must reproduce the above copyright 13# 2. Redistributions in binary form must reproduce the above copyright
14# notice, this list of conditions and the following disclaimer in the 14# notice, this list of conditions and the following disclaimer in the
15# documentation and/or other materials provided with the distribution. 15# documentation and/or other materials provided with the distribution.
16# 16#
@@ -703,30 +703,31 @@ IRIX*) @@ -703,30 +703,31 @@ IRIX*)
703Linux) 703Linux)
704 if [ -f /etc/ssdlinux_version ]; then 704 if [ -f /etc/ssdlinux_version ]; then
705 root_group=wheel 705 root_group=wheel
706 else 706 else
707 root_group=root 707 root_group=root
708 fi 708 fi
709 need_bsd_install=no 709 need_bsd_install=no
710 # Debian/Ubuntu's awk is mawk, and mawk does not understand 710 # Debian/Ubuntu's awk is mawk, and mawk does not understand
711 # some regexp used in pkgsrc/mk. 711 # some regexp used in pkgsrc/mk.
712 if [ -f /etc/debian_version ]; then 712 if [ -f /etc/debian_version ]; then
713 need_awk=yes 713 need_awk=yes
714 elif grep -sq '^CHROMEOS_RELEASE_NAME' /etc/lsb-release; then 714 elif grep -sq '^CHROMEOS_RELEASE_NAME' /etc/lsb-release; then
715 need_awk=yes 715 need_awk=yes
 716 need_sed=yes
716 else 717 else
717 need_awk=no 718 need_awk=no
 719 need_sed=no
718 fi 720 fi
719 need_sed=no 
720 set_opsys=no 721 set_opsys=no
721 machine_arch=`uname -m` 722 machine_arch=`uname -m`
722 # Override machine_arch where required. 723 # Override machine_arch where required.
723 case "$machine_arch" in 724 case "$machine_arch" in
724 i?86) machine_arch=i386 ;; 725 i?86) machine_arch=i386 ;;
725 ppc64le) machine_arch=powerpc64le ;; 726 ppc64le) machine_arch=powerpc64le ;;
726 esac 727 esac
727 ;; 728 ;;
728Minix) 729Minix)
729 root_group=operator 730 root_group=operator
730 need_bsd_install=yes 731 need_bsd_install=yes
731 need_awk=no 732 need_awk=no
732 need_sed=no 733 need_sed=no