summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2019-05-03 13:26:34 +0000
committerjperkin <jperkin@pkgsrc.org>2019-05-03 13:26:34 +0000
commita81dc6bce959262e37e571e083f3ae42fe3a44ae (patch)
tree50afb3036e48c60d49161ab62012ea6019647386 /bootstrap
parent557f339f42a6e01288ac46a95dc1131c9abf474e (diff)
downloadpkgsrc-a81dc6bce959262e37e571e083f3ae42fe3a44ae.tar.gz
bootstrap: Invert the awk/sed test on Darwin.
This stops us having to continue to add new macOS releases, it appears that Apple is not going to fix this issue any time soon.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap/bootstrap12
1 files changed, 6 insertions, 6 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index 91c621246dc..239f112ad17 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.263 2019/05/01 18:29:20 rillig Exp $
+# $NetBSD: bootstrap,v 1.264 2019/05/03 13:26:34 jperkin Exp $
#
# Copyright (c) 2001-2011 Alistair Crooks <agc@NetBSD.org>
# All rights reserved.
@@ -581,8 +581,8 @@ CYGWIN_*)
Darwin)
root_group=wheel
need_bsd_install=no
- need_awk=no
- need_sed=no
+ need_awk=yes
+ need_sed=yes
set_opsys=no
machine_arch=`get_machine_arch_darwin`
CC=${CC:-"cc -isystem /usr/include"}; export CC
@@ -601,9 +601,9 @@ Darwin)
;;
esac
case "$macosx_version" in
- 10.[8-9]|10.1[0123])
- need_awk=yes
- need_sed=yes
+ 10.[0-7])
+ need_awk=no
+ need_sed=no
;;
esac
unset osrev macosx_version