source: patches/perl-5.12.2-Configure_multilib-1.patch@ 6cc3c3f

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 6cc3c3f was a81c020, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Updated Perl to 5.12.2.

  • Property mode set to 100644
File size: 1.7 KB
RevLine 
[1bf0ff5]1Submitted By: Ryan Oliver <ryan dot oliver at pha dot com dot au>
[c7fdd488]2Date: 2010-08-01
3Initial Package Version: 5.8.8
[69cde8d]4Origin: Ryan Oliver
[1bf0ff5]5Upstream Status: Unknown
6Description: This patch allows perl to be installed in /usr/lib32
7 or /usr/lib64 instead of /usr/lib.
[69cde8d]8
[1bf0ff5]9Rediffed: Against 5.10.0 by Joe Ciccone on 2008-08-30
10 Against 5.10.1 By Jim Gifford on 2009-08-25
[c7fdd488]11 Against 5.12.1 By Joe Ciccone on 2010-08-01
[1bf0ff5]12
[c7fdd488]13diff -Naur perl-5.12.1.orig/Configure perl-5.12.1/Configure
14--- perl-5.12.1.orig/Configure 2010-05-13 18:01:07.000000000 -0400
15+++ perl-5.12.1/Configure 2010-08-01 18:18:19.614326794 -0400
16@@ -6254,6 +6254,8 @@
[69cde8d]17 : The default "style" setting is made in installstyle.U
18 case "$installstyle" in
19 *lib/perl5*) set dflt privlib lib/$package/$version ;;
20+*lib32/perl5*) set dflt privlib lib32/$package/$version ;;
21+*lib64/perl5*) set dflt privlib lib64/$package/$version ;;
22 *) set dflt privlib lib/$version ;;
23 esac
24 eval $prefixit
[c7fdd488]25@@ -6502,6 +6504,8 @@
[69cde8d]26 case "$sitelib" in
27 '') case "$installstyle" in
28 *lib/perl5*) dflt=$siteprefix/lib/$package/site_$prog/$version ;;
29+ *lib32/perl5*) dflt=$siteprefix/lib32/$package/site_$prog/$version ;;
30+ *lib64/perl5*) dflt=$siteprefix/lib64/$package/site_$prog/$version ;;
31 *) dflt=$siteprefix/lib/site_$prog/$version ;;
32 esac
33 ;;
[c7fdd488]34@@ -7020,6 +7024,8 @@
[69cde8d]35 prog=`echo $package | $sed 's/-*[0-9.]*$//'`
36 case "$installstyle" in
37 *lib/perl5*) dflt=$vendorprefix/lib/$package/vendor_$prog/$version ;;
38+ *lib32/perl5*) dflt=$vendorprefix/lib32/$package/vendor_$prog/$version ;;
39+ *lib64/perl5*) dflt=$vendorprefix/lib64/$package/vendor_$prog/$version ;;
40 *) dflt=$vendorprefix/lib/vendor_$prog/$version ;;
41 esac
42 ;;
Note: See TracBrowser for help on using the repository browser.