From 5a986cbf759fcd9377e067f150241ef7f2b7e453 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Tue, 30 Jun 2020 16:06:46 +0000 Subject: Update to perl-5.32.0. Update to man-db-2.9.3. Update to linux-5.7.6. Update to check-0.15.0. Update to bc-3.0.3. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11990 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter08/perl.xml | 38 +++++++++++++++++++++++++------------- 1 file changed, 25 insertions(+), 13 deletions(-) (limited to 'chapter08/perl.xml') diff --git a/chapter08/perl.xml b/chapter08/perl.xml index fd5e07f06..7d27118ab 100644 --- a/chapter08/perl.xml +++ b/chapter08/perl.xml @@ -49,25 +49,26 @@ export BUILD_ZLIB=False export BUILD_BZIP2=0 - To have full control over the way Perl is set up, you can remove the -des options from the following command and hand-pick the way this package is built. Alternatively, use the command exactly as below to use the defaults that Perl auto-detects: -sh Configure -des -Dprefix=/usr \ - -Dvendorprefix=/usr \ - -Dman1dir=/usr/share/man/man1 \ - -Dman3dir=/usr/share/man/man3 \ - -Dpager="/usr/bin/less -isR" \ - -Duseshrplib \ - -Dusethreads + sh Configure -des \ + -Dprefix=/usr \ + -Dvendorprefix=/usr \ + -Dprivlib=/usr/share/perl5/core_perl \ + -Darchlib=/usr/lib/perl5/&perl-version-min;/core_perl \ + -Dsitelib=/usr/share/perl5/site_perl \ + -Dsitearch=/usr/lib/perl5/&perl-version-min;/site_perl \ + -Dvendorlib=/usr/share/perl5/vendor_perl \ + -Dvendorarch=/usr/lib/perl5/&perl-version-min;/vendor_perl \ + -Dman1dir=/usr/share/man/man1 \ + -Dman3dir=/usr/share/man/man3 \ + -Dpager="/usr/bin/less -isR" \ + -Duseshrplib \ + -Dusethreads The meaning of the configure options: @@ -112,6 +113,17 @@ export BUILD_BZIP2=0 + + -Dprivlib,-Darchlib,-Dsitelib,... + + These settings define where Perl is looking for installed + modules. The LFS editors chose to put them in a directory structure + based on the Major.Minor version of Perl (&perl-version-min;) which + allows upgrading Perl to newer Patch levels (&perl-version;) without + the need to reinstall all of the modules again. + + + Compile the package: -- cgit v1.2.3-54-g00ecf