source: patches/perl-5.18.2-Configure_multilib-1.patch@ e372bb9

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since e372bb9 was af2cd26b, checked in by Chris Staub <chris@…>, 11 years ago

Add Perl patches

  • Property mode set to 100644
File size: 2.0 KB
  • perl-5.18.2

    Submitted By: Ryan Oliver <ryan dot oliver at pha dot com dot au>
    Date: 2013-08-13
    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
              Against 5.16.1 By William Harrington on 2012-08-26
    Rename for 5.16.2 by William Harrington on 2012-11-01
    
    Rediffed: Against 5.18.0 by William Harrington on 2013-05-28
    Rediffed: Against 5.18.1 by William Harrington on 2013-08-13
    Rediffed: Against 5.18.2 by Chris Staub on 2014-01-10
    
    diff -Naur perl-5.18.2.orig/Configure perl-5.18.2/Configure
    old new  
    62196219: The default "style" setting is made in installstyle.U
    62206220case "$installstyle" in
    62216221*lib/perl5*) set dflt privlib lib/$package/$version ;;
     6222*lib32/perl5*) set dflt privlib lib32/$package/$version ;;
     6223*lib64/perl5*) set dflt privlib lib64/$package/$version ;;
    62226224*)       set dflt privlib lib/$version ;;
    62236225esac
    62246226eval $prefixit
     
    64676469case "$sitelib" in
    64686470'') case "$installstyle" in
    64696471        *lib/perl5*) dflt=$siteprefix/lib/$package/site_$prog/$version ;;
     6472        *lib32/perl5*) dflt=$siteprefix/lib32/$package/site_$prog/$version ;;
     6473        *lib64/perl5*) dflt=$siteprefix/lib64/$package/site_$prog/$version ;;
    64706474        *)       dflt=$siteprefix/lib/site_$prog/$version ;;
    64716475        esac
    64726476        ;;
     
    69866990                prog=`echo $package | $sed 's/-*[0-9.]*$//'`
    69876991                case "$installstyle" in
    69886992                *lib/perl5*) dflt=$vendorprefix/lib/$package/vendor_$prog/$version ;;
     6993                *lib32/perl5*) dflt=$vendorprefix/lib32/$package/vendor_$prog/$version ;;
     6994                *lib64/perl5*) dflt=$vendorprefix/lib64/$package/vendor_$prog/$version ;;
    69896995                *)           dflt=$vendorprefix/lib/vendor_$prog/$version ;;
    69906996                esac
    69916997                ;;
Note: See TracBrowser for help on using the repository browser.