diff options
author | tron <tron> | 2013-01-28 11:29:29 +0000 |
---|---|---|
committer | tron <tron> | 2013-01-28 11:29:29 +0000 |
commit | 8f033dbb5c5a2f87f03debfc080ec59e4f336a35 (patch) | |
tree | af5575d308ec207c5b49a99c01c9317465528712 /mk | |
parent | 194769e50b5b0bae673f7e04f0fabda644c14f92 (diff) | |
download | pkgsrc-8f033dbb5c5a2f87f03debfc080ec59e4f336a35.tar.gz |
Also fix the "patch" target for patch files with broken UTF-8 sequences
in them under Mac OS X Mountain Lion.
The previous change only fixed the "makedistinfo" target.
Diffstat (limited to 'mk')
-rwxr-xr-x | mk/checksum/checksum | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/checksum/checksum b/mk/checksum/checksum index 6bba786bd60..dd617b48778 100755 --- a/mk/checksum/checksum +++ b/mk/checksum/checksum @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: checksum,v 1.13 2012/10/13 15:31:23 jmmv Exp $ +# $NetBSD: checksum,v 1.14 2013/01/28 11:29:29 tron Exp $ # # Copyright (c) 2006, 2007 The NetBSD Foundation, Inc. # All rights reserved. @@ -79,6 +79,9 @@ set -e # exit on errors : ${SED:=sed} : ${TEST:=test} +# Work around problematic UTF-8 handling in "sed" under Mac OS X Mountain Lion. +LC_ALL=C; export LC_ALL + self="${0##*/}" usage() { |