Changeset ce2f9d8 for chapter08


Ignore:
Timestamp:
03/31/2021 10:41:39 AM (3 years ago)
Author:
Xℹ Ruoyao <xry111@…>
Branches:
ml-11.0, multilib
Children:
51b58ad
Parents:
07b2c96
git-author:
Thomas Trepl <thomas@…> (07/01/2020 11:23:05 AM)
git-committer:
Xℹ Ruoyao <xry111@…> (03/31/2021 10:41:39 AM)
Message:

Merge changes from trunk to multilib

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11991 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/perl.xml

    r07b2c96 rce2f9d8  
    5050<screen><userinput remap="pre">export BUILD_ZLIB=False
    5151export BUILD_BZIP2=0</userinput></screen>
    52 <!--
    53     <para>Apply a patch to allow the Errno.pm module and the h2ph
    54     program to build correctly when building with GCC 5:</para>
    55 
    56 <screen><userinput remap="pre">patch -Np1 -i ../&perl-gcc5-fixes-patch;</userinput></screen>
    57 -->
    5852
    5953    <para>To have full control over the way Perl is set up, you can remove the
     
    6256    use the defaults that Perl auto-detects:</para>
    6357
    64 <screen><userinput remap="configure">sh Configure -des -Dprefix=/usr                 \
    65                   -Dvendorprefix=/usr           \
    66                   -Dman1dir=/usr/share/man/man1 \
    67                   -Dman3dir=/usr/share/man/man3 \
    68                   -Dpager="/usr/bin/less -isR"  \
    69                   -Duseshrplib                  \
    70                   -Dusethreads</userinput></screen>
     58 <screen><userinput remap="configure">sh Configure -des                                         \
     59             -Dprefix=/usr                                \
     60             -Dvendorprefix=/usr                          \
     61             -Dprivlib=/usr/share/perl5/core_perl         \
     62             -Darchlib=/usr/lib/perl5/&perl-version-min;/core_perl      \
     63             -Dsitelib=/usr/share/perl5/site_perl         \
     64             -Dsitearch=/usr/lib/perl5/&perl-version-min;/site_perl     \
     65             -Dvendorlib=/usr/share/perl5/vendor_perl     \
     66             -Dvendorarch=/usr/lib/perl5/&perl-version-min;/vendor_perl \
     67             -Dman1dir=/usr/share/man/man1                \
     68             -Dman3dir=/usr/share/man/man3                \
     69             -Dpager="/usr/bin/less -isR"                 \
     70             -Duseshrplib                                 \
     71             -Dusethreads</userinput></screen>
    7172
    7273    <variablelist>
     
    110111        <listitem>
    111112          <para>Build perl with support for threads.</para>
     113        </listitem>
     114      </varlistentry>
     115
     116      <varlistentry>
     117        <term><parameter>-Dprivlib,-Darchlib,-Dsitelib,...</parameter></term>
     118        <listitem>
     119          <para>These settings define where Perl is looking for installed
     120          modules. The LFS editors chose to put them in a directory structure
     121          based on the Major.Minor version of Perl (&perl-version-min;) which
     122          allows upgrading Perl to newer Patch levels (&perl-version;) without
     123          the need to reinstall all of the modules again.</para>
    112124        </listitem>
    113125      </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.