diff options
author | chuck <chuck@pkgsrc.org> | 2018-04-02 17:05:18 +0000 |
---|---|---|
committer | chuck <chuck@pkgsrc.org> | 2018-04-02 17:05:18 +0000 |
commit | 5d757011bad584a327c1faba8d583e5c521b53b5 (patch) | |
tree | 7d1099aebf834d586190f98aa768099108721965 /textproc | |
parent | 12a923eedf3e5dda8045dfc3fc2d7faf38bdaa76 (diff) | |
download | pkgsrc-5d757011bad584a327c1faba8d583e5c521b53b5.tar.gz |
use ${SETENV} ${MAKE_ENV} to avoid locale errors from sort
resolves errors on OSX using the build environment:
sort: string comparison failed: Illegal byte sequence
sort: Set LC_ALL='C' to work around the problem.
sort: The strings compared were `ZERMELO FR\304NKEL SET THEORY\tQNDT\tJF' and `ZERMELO SET THEORY\tQNMY\tOT'.
when building. Joerg provided pointers on using the build environment.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/dict-dictionaries/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/textproc/dict-dictionaries/Makefile b/textproc/dict-dictionaries/Makefile index efdb9814d87..f41d01dab36 100644 --- a/textproc/dict-dictionaries/Makefile +++ b/textproc/dict-dictionaries/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2012/10/25 06:55:45 asau Exp $ +# $NetBSD: Makefile,v 1.13 2018/04/02 17:05:18 chuck Exp $ DISTNAME= # PKGNAME= dict-data-1.8.0 @@ -61,7 +61,7 @@ do-build: @${LN} -fs ${WRKDIR}/web1913-0.46-a ${WRKDIR}/dict-web1913-1.4/web1913 @for d in ${DICTIONARIES}; do \ (cd ${WRKDIR}/$$d; \ - ${MAKE_PROGRAM} db); \ + ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} db); \ done ${FIND} ${WRKDIR} -name '*.dict' -print | \ while read f; do \ |