source: patches/perl-5.12.1-Configure_multilib-1.patch@ 986e898d

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 986e898d was c7fdd488, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Updated Perl to 5.12.1.

  • Property mode set to 100644
File size: 1.7 KB
  • perl-5.12.1

    Submitted By: Ryan Oliver <ryan dot oliver at pha dot com dot au>
    Date: 2010-08-01
    Initial Package Version: 5.8.8
    Origin: Ryan Oliver
    Upstream Status: Unknown
    Description: This patch allows perl to be installed in /usr/lib32
                 or /usr/lib64 instead of /usr/lib.
    
    Rediffed: Against 5.10.0 by Joe Ciccone on 2008-08-30
              Against 5.10.1 By Jim Gifford on 2009-08-25
              Against 5.12.1 By Joe Ciccone on 2010-08-01
    
    diff -Naur perl-5.12.1.orig/Configure perl-5.12.1/Configure
    old new  
    62546254: The default "style" setting is made in installstyle.U
    62556255case "$installstyle" in
    62566256*lib/perl5*) set dflt privlib lib/$package/$version ;;
     6257*lib32/perl5*) set dflt privlib lib32/$package/$version ;;
     6258*lib64/perl5*) set dflt privlib lib64/$package/$version ;;
    62576259*)       set dflt privlib lib/$version ;;
    62586260esac
    62596261eval $prefixit
     
    65026504case "$sitelib" in
    65036505'') case "$installstyle" in
    65046506        *lib/perl5*) dflt=$siteprefix/lib/$package/site_$prog/$version ;;
     6507        *lib32/perl5*) dflt=$siteprefix/lib32/$package/site_$prog/$version ;;
     6508        *lib64/perl5*) dflt=$siteprefix/lib64/$package/site_$prog/$version ;;
    65056509        *)       dflt=$siteprefix/lib/site_$prog/$version ;;
    65066510        esac
    65076511        ;;
     
    70207024                prog=`echo $package | $sed 's/-*[0-9.]*$//'`
    70217025                case "$installstyle" in
    70227026                *lib/perl5*) dflt=$vendorprefix/lib/$package/vendor_$prog/$version ;;
     7027                *lib32/perl5*) dflt=$vendorprefix/lib32/$package/vendor_$prog/$version ;;
     7028                *lib64/perl5*) dflt=$vendorprefix/lib64/$package/vendor_$prog/$version ;;
    70237029                *)           dflt=$vendorprefix/lib/vendor_$prog/$version ;;
    70247030                esac
    70257031                ;;
Note: See TracBrowser for help on using the repository browser.