summaryrefslogtreecommitdiff
path: root/bootstrap/bootstrap
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2022-04-06 13:06:09 +0000
committerschmonz <schmonz@pkgsrc.org>2022-04-06 13:06:09 +0000
commit3ee3ff08ede7f78c1f3b13d3b0e85fd78f1a989f (patch)
treecb59055552ca06850d237418713d3bfffe6d2f9a /bootstrap/bootstrap
parent43931e6b4809152d161cb9caeadd57d0d025cd2c (diff)
downloadpkgsrc-3ee3ff08ede7f78c1f3b13d3b0e85fd78f1a989f.tar.gz
README.macOS: nbsed requires no user action, merge comment to bootstrap.
Diffstat (limited to 'bootstrap/bootstrap')
-rwxr-xr-xbootstrap/bootstrap5
1 files changed, 3 insertions, 2 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index ca7c5c7f7d0..6c0a75aa9ba 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.309 2022/04/03 20:46:11 tnn Exp $
+# $NetBSD: bootstrap,v 1.310 2022/04/06 13:06:09 schmonz Exp $
#
# Copyright (c) 2001-2011 Alistair Crooks <agc@NetBSD.org>
# All rights reserved.
@@ -594,7 +594,8 @@ Darwin)
macos_version=`sw_vers -productVersion | \
awk -F. '{ printf("%02d%02d", $1, $2) }'`
- # Newer native sed does not support multibyte correctly.
+ # Since 10.9, native sed exits when called on files with UTF-8
+ # or other apparently-binary content.
if [ $macos_version -ge 1008 ]; then
need_awk=yes
need_sed=yes