Changeset 6c51e5ce


Ignore:
Timestamp:
09/09/2023 06:46:02 AM (8 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.1, 12.1-rc1, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.1, xry111/mips64el, xry111/update-glibc
Children:
ab31b97
Parents:
1f20176c
git-author:
Xi Ruoyao <xry111@…> (09/09/2023 06:45:05 AM)
git-committer:
Xi Ruoyao <xry111@…> (09/09/2023 06:46:02 AM)
Message:

perl: Move some explanations from Chapter 8 to Chapter 7

Explain switches once they show up first time.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter07/perl.xml

    r1f20176c r6c51e5ce  
    5858
    5959    <variablelist>
    60       <title>The meaning of the new Configure options:</title>
     60      <title>The meaning of the Configure options:</title>
     61
    6162      <varlistentry>
    6263        <term><parameter>-des</parameter></term>
     
    6566          all items; -e ensures completion of all tasks; -s silences
    6667          non-essential output.</para>
     68        </listitem>
     69      </varlistentry>
     70
     71      <varlistentry>
     72        <term><parameter>-Dvendorprefix=/usr</parameter></term>
     73        <listitem>
     74          <para>This ensures <command>perl</command> knows how to
     75          tell packages where they should install their Perl modules.</para>
     76        </listitem>
     77      </varlistentry>
     78
     79      <varlistentry>
     80        <term><parameter>-Duseshrplib</parameter></term>
     81        <listitem>
     82          <para>Build <systemitem class='library'>libperl</systemitem>
     83          needed by some Perl modules as a shared library, instead of
     84          a static library.</para>
     85        </listitem>
     86      </varlistentry>
     87
     88      <varlistentry>
     89        <term><parameter>-Dprivlib,-Darchlib,-Dsitelib,...</parameter></term>
     90        <listitem>
     91          <para>These settings define where Perl looks for installed
     92          modules. The LFS editors chose to put them in a directory structure
     93          based on the MAJOR.MINOR version of Perl (&perl-version-min;) which
     94          allows upgrading Perl to newer patch levels (the patch level is
     95          the last dot separated part in the full version string like
     96          &perl-version;) without reinstalling all of the modules.</para>
    6797        </listitem>
    6898      </varlistentry>
  • chapter08/perl.xml

    r1f20176c r6c51e5ce  
    7777
    7878    <variablelist>
    79       <title>The meaning of the configure options:</title>
    80 
    81       <varlistentry>
    82         <term><parameter>-Dvendorprefix=/usr</parameter></term>
    83         <listitem>
    84           <para>This ensures <command>perl</command> knows how to
    85           tell packages where they should install their Perl modules.</para>
    86         </listitem>
    87       </varlistentry>
     79      <title>The meaning of the new Configure options:</title>
    8880
    8981      <varlistentry>
     
    10698
    10799      <varlistentry>
    108         <term><parameter>-Duseshrplib</parameter></term>
    109         <listitem>
    110           <para>Build a shared libperl needed by some Perl modules.</para>
    111         </listitem>
    112       </varlistentry>
    113 
    114       <varlistentry>
    115100        <term><parameter>-Dusethreads</parameter></term>
    116101        <listitem>
    117102          <para>Build Perl with support for threads.</para>
    118         </listitem>
    119       </varlistentry>
    120 
    121       <varlistentry>
    122         <term><parameter>-Dprivlib,-Darchlib,-Dsitelib,...</parameter></term>
    123         <listitem>
    124           <para>These settings define where Perl looks for installed
    125           modules. The LFS editors chose to put them in a directory structure
    126           based on the MAJOR.MINOR version of Perl (&perl-version-min;) which
    127           allows upgrading Perl to newer patch levels (the patch level is
    128           the last dot separated part in the full version string like
    129           &perl-version;) without reinstalling all of the modules.</para>
    130103        </listitem>
    131104      </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.