source: patches/perl-5.10.1-Configure_multilib-1.patch@ cdd36982

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since cdd36982 was 1bf0ff5, checked in by Jim Gifford <clfs@…>, 15 years ago

Updated Perl to 5.10.1

  • Property mode set to 100644
File size: 1.6 KB
RevLine 
[1bf0ff5]1Submitted By: Ryan Oliver <ryan dot oliver at pha dot com dot au>
2Date: 2009-08-25
3Initial Package Version: 5.10.1
[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
11
12diff -Naur perl-5.10.1.orig/Configure perl-5.10.1/Configure
13--- perl-5.10.1.orig/Configure 2009-08-18 12:03:53.000000000 -0700
14+++ perl-5.10.1/Configure 2009-08-25 16:15:34.000000000 -0700
15@@ -6236,6 +6236,8 @@
[69cde8d]16 : The default "style" setting is made in installstyle.U
17 case "$installstyle" in
18 *lib/perl5*) set dflt privlib lib/$package/$version ;;
19+*lib32/perl5*) set dflt privlib lib32/$package/$version ;;
20+*lib64/perl5*) set dflt privlib lib64/$package/$version ;;
21 *) set dflt privlib lib/$version ;;
22 esac
23 eval $prefixit
[1bf0ff5]24@@ -6484,6 +6486,8 @@
[69cde8d]25 case "$sitelib" in
26 '') case "$installstyle" in
27 *lib/perl5*) dflt=$siteprefix/lib/$package/site_$prog/$version ;;
28+ *lib32/perl5*) dflt=$siteprefix/lib32/$package/site_$prog/$version ;;
29+ *lib64/perl5*) dflt=$siteprefix/lib64/$package/site_$prog/$version ;;
30 *) dflt=$siteprefix/lib/site_$prog/$version ;;
31 esac
32 ;;
[1bf0ff5]33@@ -7002,6 +7006,8 @@
[69cde8d]34 prog=`echo $package | $sed 's/-*[0-9.]*$//'`
35 case "$installstyle" in
36 *lib/perl5*) dflt=$vendorprefix/lib/$package/vendor_$prog/$version ;;
37+ *lib32/perl5*) dflt=$vendorprefix/lib32/$package/vendor_$prog/$version ;;
38+ *lib64/perl5*) dflt=$vendorprefix/lib64/$package/vendor_$prog/$version ;;
39 *) dflt=$vendorprefix/lib/vendor_$prog/$version ;;
40 esac
41 ;;
Note: See TracBrowser for help on using the repository browser.