summaryrefslogtreecommitdiff
path: root/mk/checksum
diff options
context:
space:
mode:
authortron <tron>2013-01-24 11:20:56 +0000
committertron <tron>2013-01-24 11:20:56 +0000
commitfd69c5d603fc9d2fd22916541f8b571e9d4046b2 (patch)
treef5f6ca563047d134095ea621a5bbe57d933853e7 /mk/checksum
parent0ef1f2e875e200a26f78cd289a56b9b8c310a65c (diff)
downloadpkgsrc-fd69c5d603fc9d2fd22916541f8b571e9d4046b2.tar.gz
Force using the C locale while checking or generating patch file checksums.
Mac OS X Mountain Lion's "sed" will otherwise reject some patch files (e.g. "pkgsrc/devel/libcfg+/patches/patch-ab") because of broken UTF-8 encoding. It would probably be better not to use the bundled "sed" under Mac OS X Mountain Lion at all. But it seems that this is not supported by "pkgsrc" at the moment.
Diffstat (limited to 'mk/checksum')
-rw-r--r--mk/checksum/checksum.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/checksum/checksum.mk b/mk/checksum/checksum.mk
index 40fe202b470..b2f815a6a5b 100644
--- a/mk/checksum/checksum.mk
+++ b/mk/checksum/checksum.mk
@@ -1,4 +1,4 @@
-# $NetBSD: checksum.mk,v 1.16 2011/09/08 20:17:15 abs Exp $
+# $NetBSD: checksum.mk,v 1.17 2013/01/24 11:20:56 tron Exp $
#
# See bsd.checksum.mk for helpful comments.
#
@@ -52,7 +52,7 @@ checksum checksum-phase:
.endif
_DISTINFO_CMD= ${PKGSRC_SETENV} DIGEST=${TOOLS_DIGEST:Q} SED=${TOOLS_SED:Q} \
- TEST=${TOOLS_TEST:Q} WC=${TOOLS_WC:Q} \
+ TEST=${TOOLS_TEST:Q} WC=${TOOLS_WC:Q} LC_ALL=C \
${AWK} -f ${PKGSRCDIR}/mk/checksum/distinfo.awk --
.if exists(${DISTDIR})