From 50fdfc80bc67b6f5274541b2107d60f3543ed8cc Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sun, 19 Apr 2020 07:42:38 +0000 Subject: Allow bison to use libtextstyle from gettext by moving gettext before bison git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11813 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 5 +++++ chapter06/chapter06.xml | 2 +- chapter06/gettext.xml | 17 ++++++++++++++++- 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 328da44b5..7309c6e7f 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -45,6 +45,11 @@ 2020-04-19 + + [pierre] - Allow bison to use the libtextstyle.so library from + gettext, by moving gettext before bison. Fixes + #4634. + [pierre] - Allow some shadow programs to use "setcap" by moving libcap before shadow. Fixes diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml index 6322e3cab..a6b15f6b5 100644 --- a/chapter06/chapter06.xml +++ b/chapter06/chapter06.xml @@ -42,6 +42,7 @@ + @@ -57,7 +58,6 @@ - diff --git a/chapter06/gettext.xml b/chapter06/gettext.xml index ef4b24741..2c4683804 100644 --- a/chapter06/gettext.xml +++ b/chapter06/gettext.xml @@ -76,7 +76,22 @@ sed -i 's/test-lock..EXEEXT.//' gettext-tools/gnulib-tests/Makefile.inCompile the package: -make +make BISON_LOCALEDIR=/usr/share/locale + + + The meaning of the make parameter: + + + BISON_LOCALEDIR=/usr/share/locale + + Since bison is not yet installed in /usr, configure hardcodes + the directory containing translations for the bison program (the + "locale" directory) as /tools/share/locale. Passing this variable + to make allows overriding the choice made by configure. + + + + To test the results (this takes a long time, around 3 SBUs), issue: -- cgit v1.2.3-54-g00ecf