Subject: misc/5518: sysinst makefiles use LANG improperly
To: None <gnats-bugs@gnats.netbsd.org>
From: Marc Horowitz <marc@cygnus.com>
List: netbsd-bugs
Date: 05/31/1998 16:34:48
>Number:         5518
>Category:       misc
>Synopsis:       sysinst makefiles use LANG improperly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 31 13:35:00 1998
>Last-Modified:
>Originator:     Marc Horowitz
>Organization:
	
>Release:        May 30
>Environment:
	
System: NetBSD rover 1.3E NetBSD 1.3E (MARC) #49: Sat May 30 22:53:28 EDT 1998 marc@rover:/u3/netbsd/src/sys/arch/i386/compile/MARC i386


>Description:

The locale internationalization code uses the LANG env var to
determine which language to display error messages in
(lib/libc/local/setlocale.c). 

distrib/utils/sysinst/Makefile.inc uses the LANG env var to determine
which language files to build the menus with.

These uses conflict.

>How-To-Repeat:

setenv LANG C
cd /src/distrib/i386/floppies
make

>Fix:

rename LANG in distrib/utils/sysinst/Makefile.inc to something else.
>Audit-Trail:
>Unformatted: