Author: ken
Date: Sat Sep  6 12:57:00 2014
New Revision: 14207

Log:
Forgot to fix firefox-32.0 for i686 builds.

Modified:
   trunk/BOOK/xsoft/graphweb/firefox.xml

Modified: trunk/BOOK/xsoft/graphweb/firefox.xml
==============================================================================
--- trunk/BOOK/xsoft/graphweb/firefox.xml       Sat Sep  6 12:42:28 2014        
(r14206)
+++ trunk/BOOK/xsoft/graphweb/firefox.xml       Sat Sep  6 12:57:00 2014        
(r14207)
@@ -242,8 +242,9 @@
       If you are compiling <application>Firefox</application> in chroot, 
prepend
       <envar>SHELL=/bin/sh</envar> to the first make command below.
     </para></note>
-      
-<screen><userinput>make -f client.mk</userinput></screen>
+
+<screen><userinput>test $(uname -m) = "i686" &amp;&amp; sed -i 
's/enable-optimize/disable-optimize/' mozconfig || true &amp;&amp;
+make -f client.mk</userinput></screen>
 
     <para>
       This package does not come with a test suite.
@@ -264,6 +265,13 @@
     <title>Command Explanations</title>
 
     <para>
+      <command>test $(uname -m) = "i686" &amp;&amp; sed ...</command>:
+      On this version of firefox, an old bug has reappeared in 32-bit builds.
+      With optimization, the install fails with a Python error.  This
+      command will fix i686 builds and preserve the optimization on x86_64.
+    </para>
+
+    <para>
       <command>make -f client.mk ...</command>: Mozilla products are packaged 
to
       allow the use of a configuration file which can be used to pass the
       configuration settings to the <command>configure</command> command.
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to