mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: glibc-locales: Fix build.
* gnu/packages/patches/glibc-locales.patch: Adjust to glibc-2.23. * gnu/packages/base.scm (glibc-locales)[arguments]: Pass 'lib_cv_complocaledir'.
This commit is contained in:
parent
c2c54ebd91
commit
85860fdf82
2 changed files with 4 additions and 4 deletions
|
@ -5,8 +5,8 @@ in a package separate from glibc.
|
|||
2. Use '--no-archive' to avoid building the big locale archive, and
|
||||
because the already-built 'localedef' would want to write it
|
||||
to '/run/current-system/locale', which is not possible.
|
||||
3. Pass $(localedir)/$$locale to install files in the right place, and
|
||||
because otherwise, 'localedef' fails with:
|
||||
3. Pass $(inst_complocaledir)/$$locale to install files in the right
|
||||
place, and because otherwise, 'localedef' fails with:
|
||||
"cannot write output files to `(null)'".
|
||||
|
||||
--- glibc-2.22/localedata/Makefile 1970-01-01 01:00:00.000000000 +0100
|
||||
|
@ -25,7 +25,7 @@ in a package separate from glibc.
|
|||
$(LOCALEDEF) --alias-file=../intl/locale.alias \
|
||||
-i locales/$$input -c -f charmaps/$$charset \
|
||||
- $(addprefix --prefix=,$(install_root)) $$locale \
|
||||
+ $(addprefix --prefix=,$(install_root)) $(localedir)/$$locale \
|
||||
+ $(addprefix --prefix=,$(install_root)) $(inst_complocaledir)/$$locale \
|
||||
&& echo ' done'; \
|
||||
|
||||
tst-setlocale-ENV = LC_ALL=ja_JP.EUC-JP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue