pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/dict-dictionaries use ${SETENV} ${MAKE_ENV} t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/184bcbef67a1
branches:  trunk
changeset: 378166:184bcbef67a1
user:      chuck <chuck%pkgsrc.org@localhost>
date:      Mon Apr 02 17:05:18 2018 +0000

description:
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:

 textproc/dict-dictionaries/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 8a010ccb1493 -r 184bcbef67a1 textproc/dict-dictionaries/Makefile
--- a/textproc/dict-dictionaries/Makefile       Mon Apr 02 16:26:03 2018 +0000
+++ b/textproc/dict-dictionaries/Makefile       Mon Apr 02 17:05:18 2018 +0000
@@ -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 @@
        @${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 \



Home | Main Index | Thread Index | Old Index