Subject: pkg/28769: Some sed scripts depend on C locale.
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 12/24/2004 07:39:00
>Number:         28769
>Category:       pkg
>Synopsis:       Some sed scripts depend on C locale.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 24 07:39:00 +0000 2004
>Originator:     Hiroshi
>Release:        Solaris 9
SunOS 5.9 Generic_117171-14 sun4u sparc SUNW,Sun-Blade-1000
Makefile of pkgsrc which uses SUBST_SED.<class> (e.g., pkglint, and autoswc ...) 
depends on C locale. It should be made with somthing like "LC_ALL=C" specifically, otherwise will fail to substitute characters when one using other (Japanese) locale.
On a Japanese locale,

# cd /usr/pkgsrc/pkgtools/pkglint
# make

You will find in lintpkgsrc, @PERL@ is not substituted to /usr/pkg/bin/perl.
# tcsh
# make LC_ALL=C