From 91465e107340ff08838dd9931ebef3309d90eb7e Mon Sep 17 00:00:00 2001 From: ru Date: Mon, 25 Nov 2002 09:00:05 +0000 Subject: Make this work under non-C locales. PR: misc/45460 Approved by: re --- usr.bin/getconf/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'usr.bin') diff --git a/usr.bin/getconf/Makefile b/usr.bin/getconf/Makefile index 275b4f2..eaaf628 100644 --- a/usr.bin/getconf/Makefile +++ b/usr.bin/getconf/Makefile @@ -1,4 +1,4 @@ -# $FreeBSD$ +# $FreeBSD$ PROG= getconf @@ -14,10 +14,11 @@ CLEANFILES+= confstr.c limits.c pathconf.c progenv.c sysconf.c \ all: conflicts .gperf.c: - awk -f ${.CURDIR}/fake-gperf.awk ${.IMPSRC} >${.TARGET} + LC_ALL=C awk -f ${.CURDIR}/fake-gperf.awk ${.IMPSRC} >${.TARGET} .gperf.names: - awk '/^[_A-Z]/ { print; }' ${.IMPSRC} | sed -e 's/,$$//' >${.TARGET} + LC_ALL=C awk '/^[_A-Z]/ { print; }' ${.IMPSRC} | \ + sed -e 's/,$$//' >${.TARGET} conflicts: conflicting.names unique.names @if test `wc -l ${.TARGET} unique.names: conflicting.names - sort -u ${.ALLSRC} >${.TARGET} + LC_ALL=C sort -u ${.ALLSRC} >${.TARGET} .include -- cgit v1.1