Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128253 - sys-apps/kbd fails to ./configure (et_EE locale issue)
Summary: sys-apps/kbd fails to ./configure (et_EE locale issue)
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-31 07:02 UTC by Jaak Ristioja
Modified: 2008-06-05 23:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed patch for ./configure (kbd-configure-LANG.patch,307 bytes, patch)
2006-03-31 07:03 UTC, Jaak Ristioja
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.