source: patches/perl-5.8.8-Configure_multilib-1.patch@ 88b8876

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 88b8876 was 69cde8d, checked in by Jim Gifford <clfs@…>, 19 years ago

Added: All patches needed for the book.

  • Property mode set to 100644
File size: 1.4 KB
  • perl-5.8.7/

    Submitted By: Ryan Oliver <ryan(dot)oliver(at)pha(dot)com(dot)au>
    Date: 2005-10-20
    Initial Package Version: 5.8.7
    Origin: Ryan Oliver
    Description: this patch allows perl to be installed in /usr/lib32 or /usr/lib64 instead of /usr/lib.
    
    old new  
    59305930: The default "style" setting is made in installstyle.U
    59315931case "$installstyle" in
    59325932*lib/perl5*) set dflt privlib lib/$package/$version ;;
     5933*lib32/perl5*) set dflt privlib lib32/$package/$version ;;
     5934*lib64/perl5*) set dflt privlib lib64/$package/$version ;;
    59335935*)       set dflt privlib lib/$version ;;
    59345936esac
    59355937eval $prefixit
     
    64336435case "$sitelib" in
    64346436'') case "$installstyle" in
    64356437        *lib/perl5*) dflt=$siteprefix/lib/$package/site_$prog/$version ;;
     6438        *lib32/perl5*) dflt=$siteprefix/lib32/$package/site_$prog/$version ;;
     6439        *lib64/perl5*) dflt=$siteprefix/lib64/$package/site_$prog/$version ;;
    64366440        *)       dflt=$siteprefix/lib/site_$prog/$version ;;
    64376441        esac
    64386442        ;;
     
    65606564                prog=`echo $package | $sed 's/-*[0-9.]*$//'`
    65616565                case "$installstyle" in
    65626566                *lib/perl5*) dflt=$vendorprefix/lib/$package/vendor_$prog/$version ;;
     6567                *lib32/perl5*) dflt=$vendorprefix/lib32/$package/vendor_$prog/$version ;;
     6568                *lib64/perl5*) dflt=$vendorprefix/lib64/$package/vendor_$prog/$version ;;
    65636569                *)           dflt=$vendorprefix/lib/vendor_$prog/$version ;;
    65646570                esac
    65656571                ;;
Note: See TracBrowser for help on using the repository browser.