pkgsrc-Bugs archive

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

pkg/28769: Some sed scripts depend on C locale.



>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
>Organization:
>Environment:
SunOS 5.9 Generic_117171-14 sun4u sparc SUNW,Sun-Blade-1000
>Description:
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.
>How-To-Repeat:
On a Japanese locale,

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

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




Home | Main Index | Thread Index | Old Index