summaryrefslogtreecommitdiff
path: root/bootstrap/bootstrap
diff options
context:
space:
mode:
authortron <tron>2013-06-14 15:07:37 +0000
committertron <tron>2013-06-14 15:07:37 +0000
commit926b9f8084fd9a00f821428aae0231ac7c687c26 (patch)
tree122f5611fa9f80b8d2cf0121e407eb0b9c5643c2 /bootstrap/bootstrap
parentdd9b651b0b2c4b48fb92eed1a2586b1173b561b0 (diff)
downloadpkgsrc-926b9f8084fd9a00f821428aae0231ac7c687c26.tar.gz
Don't use the bundled "awk" and "sed" under Mac OX Mountain Lion and newer.
They break badly on files with binary characters. This fixes e.g. the build of the "youtube-dl" package.
Diffstat (limited to 'bootstrap/bootstrap')
-rwxr-xr-xbootstrap/bootstrap8
1 files changed, 7 insertions, 1 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index 55708eab230..1bbb9842d30 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.193 2013/06/01 12:15:54 tron Exp $
+# $NetBSD: bootstrap,v 1.194 2013/06/14 15:07:37 tron Exp $
#
# Copyright (c) 2001-2011 Alistair Crooks <agc@NetBSD.org>
# All rights reserved.
@@ -507,6 +507,12 @@ Darwin)
packagemaker=/Developer/usr/bin/packagemaker
;;
esac
+ case "$macosx_version" in
+ 10.[8-9])
+ need_awk=yes
+ need_sed=yes
+ ;;
+ esac
unset osrev macosx_version
;;
DragonFly)