Fixing the glibc locales build expression (in the sense that now it builds, not that it looks nice)
svn path=/nixpkgs/branches/stdenv-updates/; revision=23369
This commit is contained in:
parent
15f83acc0c
commit
a480f92f9d
@ -26,6 +26,10 @@ in
|
|||||||
buildPhase =
|
buildPhase =
|
||||||
''
|
''
|
||||||
mkdir -p $TMPDIR/"$(dirname $(readlink -f $(type -p localedef)))/../lib/locale"
|
mkdir -p $TMPDIR/"$(dirname $(readlink -f $(type -p localedef)))/../lib/locale"
|
||||||
|
|
||||||
|
# Hack to allow building of the locales (needed since glibc-2.12)
|
||||||
|
sed -i -e 's/^LOCALEDEF=/LOCALEDEF?=/' ../glibc-2*/localedata/Makefile
|
||||||
|
|
||||||
make localedata/install-locales \
|
make localedata/install-locales \
|
||||||
LOCALEDEF="localedef --prefix=$TMPDIR" \
|
LOCALEDEF="localedef --prefix=$TMPDIR" \
|
||||||
localedir=$out/lib/locale \
|
localedir=$out/lib/locale \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user