Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 128253

Summary: sys-apps/kbd fails to ./configure (et_EE locale issue)
Product: Gentoo Linux Reporter: Jaak Ristioja <jaak>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: VERIFIED FIXED    
Severity: normal CC: truedfx
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Proposed patch for ./configure

Description Jaak Ristioja 2006-03-31 07:02:29 UTC
>>> Compiling source in /var/tmp/portage/kbd-1.12-r6/work/kbd-1.12 ...
PREFIX must have a leading slash
Comment 1 Jaak Ristioja 2006-03-31 07:03:48 UTC
Created attachment 83505 [details, diff]
Proposed patch for ./configure

Substitutes a-zA-Z0-9 for [:alnum:] in sed statement.
Comment 2 Harald van Dijk (RETIRED) gentoo-dev 2006-05-18 07:30:17 UTC
Probably a better idea to use LC_ALL=C with that sed, since it's not meant to allow things like 
Comment 3 Harald van Dijk (RETIRED) gentoo-dev 2006-05-18 07:30:17 UTC
Probably a better idea to use LC_ALL=C with that sed, since it's not meant to allow things like รค.

--- configure
+++ configure
@@ -15,7 +15,7 @@
 
 for arg in $*; do
 	case "$arg" in
-		-*=*) optarg=`echo "$arg" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
+		-*=*) optarg=`echo "$arg" | LC_ALL=C sed 's/[-_a-zA-Z0-9]*=//'` ;;
 		   *) optarg= ;;
 	esac
 
Comment 4 SpanKY gentoo-dev 2006-06-10 12:47:15 UTC
should be fixed now
Comment 5 Jaak Ristioja 2006-06-12 00:44:39 UTC
(In reply to comment #3)
> should be fixed now
> 

Yes it is. Thanks.