Changeset bfa1248


Ignore:
Timestamp:
02/17/2012 01:32:38 PM (10 years ago)
Author:
Andrew Benton <andy@…>
Branches:
10.0, 10.1, 11.0, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, krejzi/svn, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
30e5181
Parents:
7e1df8f9
Message:

Pth tweaks

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9449 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/pth.xml

    r7e1df8f9 rbfa1248  
    55  %general-entities;
    66
    7   <!ENTITY pth-download-http "http://ftp.gnu.org/gnu/pth/pth-&pth-version;.tar.gz">
    8   <!ENTITY pth-download-ftp  "ftp://ftp.gnu.org/gnu/pth/pth-&pth-version;.tar.gz">
     7  <!ENTITY pth-download-http
     8  "http://ftp.gnu.org/gnu/pth/pth-&pth-version;.tar.gz">
     9  <!ENTITY pth-download-ftp
     10  "ftp://ftp.gnu.org/gnu/pth/pth-&pth-version;.tar.gz">
    911  <!ENTITY pth-md5sum        "9cb4a25331a4c4db866a31cbe507c793">
    1012  <!ENTITY pth-size          "652 KB">
     
    6365    <para condition="html" role="usernotes">User Notes:
    6466    <ulink url="&blfs-wiki;/pth"/></para>
    65 
    6667  </sect2>
    6768
     
    7980    following commands:</para>
    8081
    81 <screen><userinput>./configure --prefix=/usr &amp;&amp;
     82<screen><userinput>sed -i 's#$(LOBJS): Makefile#$(LOBJS): pth_p.h Makefile#' Makefile.in &amp;&amp;
     83./configure --prefix=/usr --disable-static --mandir=/usr/share/man &amp;&amp;
    8284make</userinput></screen>
    8385
    84     <para>To test the results, issue: <command>make check</command>.</para>
     86    <para>To test the results, issue: <command>make test</command>.</para>
    8587
    8688    <para>Now, as the <systemitem class="username">root</systemitem>
     
    9193install -v -m644    README PORTING SUPPORT TESTS \
    9294                    /usr/share/doc/pth-&pth-version;</userinput></screen>
     95  </sect2>
    9396
     97  <sect2 role="commands">
     98    <title>Command Explanations</title>
     99
     100    <para><command>sed -i 's#$(LOBJS) ...</command>: This sed fixes a race
     101    condition in the Makefile. It allows you to run <command>make</command> with
     102    multiple jobs (eg, <command>make -j4</command>) <!-- how ironic that a
     103    package for using multiple threads has this bug in its Makefile-->.</para>
     104
     105    <para><option>--disable-static</option>: This option stops it compiling a
     106    static version of the library.</para>
     107
     108    <para><option>--mandir=/usr/share/man</option>: This option puts the man
     109    pages in /usr/share/man and not /usr/man.</para>
    94110  </sect2>
    95111
     
    104120      <seglistitem>
    105121        <seg>pth-config</seg>
    106         <seg>libpth.{so,a}</seg>
     122        <seg>libpth.so</seg>
    107123        <seg>/usr/share/doc/pth-&pth-version;</seg>
    108124      </seglistitem>
     
    128144
    129145      <varlistentry id="libpth">
    130         <term><filename class='libraryfile'>libpth.{so,a}</filename></term>
     146        <term><filename class="libraryfile">libpth.so</filename></term>
    131147        <listitem>
    132148          <para>contains the API functions used by the GNU Portable Threads
    133149          Library.</para>
    134150          <indexterm zone="pth libpth">
    135             <primary sortas="c-libpth">libpth.{so,a}</primary>
     151            <primary sortas="c-libpth">libpth.so</primary>
    136152          </indexterm>
    137153        </listitem>
    138154      </varlistentry>
    139 
    140155    </variablelist>
    141 
    142156  </sect2>
    143 
    144157</sect1>
  • template/README

    r7e1df8f9 rbfa1248  
    66Makes a copy of the file and edit as needed.
    77
     8don't forget to:
     9
     10svn propset svn:keywords "LastChangedBy Date" path/to/new/page.xml
Note: See TracChangeset for help on using the changeset viewer.