aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gettext.xml
diff options
context:
space:
mode:
authorPierre Labastie <pieere@linuxfromscratch.org>2020-04-19 07:42:38 +0000
committerPierre Labastie <pieere@linuxfromscratch.org>2020-04-19 07:42:38 +0000
commit50fdfc80bc67b6f5274541b2107d60f3543ed8cc (patch)
tree1016d579c42afe6b2877bd4b301189c36fa127c1 /chapter06/gettext.xml
parent2a739707373a6146a204112da199d9d8774b0ce7 (diff)
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
Diffstat (limited to 'chapter06/gettext.xml')
-rw-r--r--chapter06/gettext.xml17
1 files changed, 16 insertions, 1 deletions
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.in</userinpu
<para>Compile the package:</para>
-<screen><userinput remap="make">make</userinput></screen>
+<screen><userinput remap="make">make BISON_LOCALEDIR=/usr/share/locale</userinput></screen>
+
+ <variablelist>
+ <title>The meaning of the make parameter:</title>
+
+ <varlistentry>
+ <term><parameter>BISON_LOCALEDIR=/usr/share/locale</parameter></term>
+ <listitem>
+ <para>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.</para>
+ </listitem>
+ </varlistentry>
+
+ </variablelist>
<para>To test the results (this takes a long time, around 3 SBUs),
issue:</para>