From 5d757011bad584a327c1faba8d583e5c521b53b5 Mon Sep 17 00:00:00 2001 From: chuck Date: Mon, 2 Apr 2018 17:05:18 +0000 Subject: 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. --- textproc/dict-dictionaries/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'textproc') 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 \ -- cgit v1.2.3