---------- Forwarded message ---------- From: <[email protected]> Date: Fri, Feb 17, 2012 at 5:32 AM Subject: [blfs-book] r9449 - in trunk/BOOK: general/genlib template To: [email protected]
Author: andy Date: 2012-02-17 06:32:38 -0700 (Fri, 17 Feb 2012) New Revision: 9449 Modified: trunk/BOOK/general/genlib/pth.xml trunk/BOOK/template/README Log: Pth tweaks Modified: trunk/BOOK/general/genlib/pth.xml =================================================================== --- trunk/BOOK/general/genlib/pth.xml 2012-02-17 05:39:57 UTC (rev 9448) +++ trunk/BOOK/general/genlib/pth.xml 2012-02-17 13:32:38 UTC (rev 9449) @@ -4,8 +4,10 @@ -<screen><userinput>./configure --prefix=/usr && +<screen><userinput>sed -i 's#$(LOBJS): Makefile#$(LOBJS): pth_p.h Makefile#' Makefile.in && +./configure --prefix=/usr --disable-static --mandir=/usr/share/man && make</userinput></screen> + <sect2 role="commands"> + <title>Command Explanations</title> + + <para><command>sed -i 's#$(LOBJS) ...</command>: This sed fixes a race + condition in the Makefile. It allows you to run <command>make</command> with + multiple jobs (eg, <command>make -j4</command>) <!-- how ironic that a + package for using multiple threads has this bug in its Makefile-->.</para> + + <para><option>--disable-static</option>: This option stops it compiling a + static version of the library.</para> + + <para><option>--mandir=/usr/share/man</option>: This option puts the man + pages in /usr/share/man and not /usr/man.</para> </sect2> It looks like that sed allows us to build pth with multiple threads on make, which I think is great. I have always liked the idea that LFS/BLFS patches & fixes are also found (or submitted) upstream when possible though, and I was wondering where this came from. -- Nathan Coulson (conathan) ------ Location: British Columbia, Canada Timezone: PST (-8) Webpage: http://www.nathancoulson.com -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
