Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/temp-system/common/coreutils.xml

    rdabbced r5d86a4f  
    2323    <title>Installation of Coreutils</title>
    2424
    25     <para os="aa">The following command updates the timestamps on the uname
    26     and hostname man pages so that the Makefile does not attempt to regenerate
    27     them:</para>
    28 
    29 <screen os="ab"><userinput>touch man/uname.1 man/hostname.1</userinput></screen>
    30 
    3125    <para os="ba">Configure can not properly determine how to get free space
    3226    when cross-compiling - as a result, the <command>df</command> program will
     
    3933EOF</userinput></screen>
    4034
     35    <para os="p1">Apply a patch to not generate manpages :</para>
     36
     37<screen os="p2"><userinput>patch -Np1 -i ../&coreutils-noman-patch;</userinput></screen>
     38
    4139    <para os="bd">Prepare Coreutils for compilation:</para>
    4240
     
    4442    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    4543    --enable-install-program=hostname --cache-file=config.cache</userinput></screen>
     44
     45    <variablelist os="be1">
     46      <title>The meaning of the new configure option:</title>
     47
     48      <varlistentry>
     49        <term><parameter>--enable-install-program=hostname</parameter></term>
     50        <listitem>
     51          <para>Tells Coreutils to install <command>hostname</command>,
     52          which is needed for the Perl testsuite.</para>
     53        </listitem>
     54      </varlistentry>
     55
     56    </variablelist>
     57
     58    <para os="s1">Apply a sed to allow completion of the build:</para>
     59
     60<screen os="s2"><userinput>cp -v Makefile{,.orig}
     61sed -e 's/^#run_help2man\|^run_help2man/#&amp;/' \
     62  -e 's/^\##run_help2man/run_help2man/' Makefile.orig > Makefile</userinput></screen>
    4663
    4764   <para os="bf">Compile the package:</para>
Note: See TracChangeset for help on using the changeset viewer.