Author: pierre
Date: Sun Apr 19 00:42:38 2020
New Revision: 11813

Log:
Allow bison to use libtextstyle from gettext by moving gettext before bison

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/chapter06.xml
   trunk/BOOK/chapter06/gettext.xml

Modified: trunk/BOOK/chapter01/changelog.xml
==============================================================================
--- trunk/BOOK/chapter01/changelog.xml  Sat Apr 18 23:25:04 2020        (r11812)
+++ trunk/BOOK/chapter01/changelog.xml  Sun Apr 19 00:42:38 2020        (r11813)
@@ -46,6 +46,11 @@
       <para>2020-04-19</para>
       <itemizedlist>
         <listitem>
+          <para>[pierre] - Allow bison to use the libtextstyle.so library from
+          gettext, by moving gettext before bison. Fixes
+          <ulink url="&lfs-ticket-root;4634">#4634</ulink>.</para>
+        </listitem>
+        <listitem>
           <para>[pierre] - Allow some shadow programs to use "setcap" by
           moving libcap before shadow. Fixes
           <ulink url="&lfs-ticket-root;4633">#4633</ulink>.</para>

Modified: trunk/BOOK/chapter06/chapter06.xml
==============================================================================
--- trunk/BOOK/chapter06/chapter06.xml  Sat Apr 18 23:25:04 2020        (r11812)
+++ trunk/BOOK/chapter06/chapter06.xml  Sun Apr 19 00:42:38 2020        (r11813)
@@ -42,6 +42,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="sed.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="psmisc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="iana-etc.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="gettext.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="bison.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="flex.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="grep.xml"/>
@@ -57,7 +58,6 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="autoconf.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="automake.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="kmod.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="gettext.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="libelf.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="libffi.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="openssl.xml"/>

Modified: trunk/BOOK/chapter06/gettext.xml
==============================================================================
--- trunk/BOOK/chapter06/gettext.xml    Sat Apr 18 23:25:04 2020        (r11812)
+++ trunk/BOOK/chapter06/gettext.xml    Sun Apr 19 00:42:38 2020        (r11813)
@@ -76,7 +76,22 @@
 
     <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>
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to