diff options
author | tron <tron@pkgsrc.org> | 2013-01-24 11:20:56 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2013-01-24 11:20:56 +0000 |
commit | ba8448e7f87923b3732f2ae1a451d6fee1de6663 (patch) | |
tree | f5f6ca563047d134095ea621a5bbe57d933853e7 /mk/checksum/checksum.mk | |
parent | bfffc6be514676120a255c45aebfafa90cad3a15 (diff) | |
download | pkgsrc-ba8448e7f87923b3732f2ae1a451d6fee1de6663.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/checksum.mk')
-rw-r--r-- | mk/checksum/checksum.mk | 4 |
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}) |