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

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

Add Perl patches

  • Property mode set to 100644
File size: 2.0 KB
RevLine 
[af2cd26b]1Submitted By: Ryan Oliver <ryan dot oliver at pha dot com dot au>
2Date: 2013-08-13
3Initial Package Version: 5.8.8
4Origin: Ryan Oliver
5Upstream Status: Unknown
6Description: This patch allows perl to be installed in /usr/lib32
7 or /usr/lib64 instead of /usr/lib.
8
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 Against 5.12.1 By Joe Ciccone on 2010-08-01
12 Against 5.16.1 By William Harrington on 2012-08-26
13Rename for 5.16.2 by William Harrington on 2012-11-01
14
15Rediffed: Against 5.18.0 by William Harrington on 2013-05-28
16Rediffed: Against 5.18.1 by William Harrington on 2013-08-13
17Rediffed: Against 5.18.2 by Chris Staub on 2014-01-10
18
19diff -Naur perl-5.18.2.orig/Configure perl-5.18.2/Configure
20--- perl-5.18.2.orig/Configure 2014-01-06 17:46:42.000000000 -0500
21+++ perl-5.18.2/Configure 2014-01-10 02:38:43.000000000 -0500
22@@ -6219,6 +6219,8 @@
23 : The default "style" setting is made in installstyle.U
24 case "$installstyle" in
25 *lib/perl5*) set dflt privlib lib/$package/$version ;;
26+*lib32/perl5*) set dflt privlib lib32/$package/$version ;;
27+*lib64/perl5*) set dflt privlib lib64/$package/$version ;;
28 *) set dflt privlib lib/$version ;;
29 esac
30 eval $prefixit
31@@ -6467,6 +6469,8 @@
32 case "$sitelib" in
33 '') case "$installstyle" in
34 *lib/perl5*) dflt=$siteprefix/lib/$package/site_$prog/$version ;;
35+ *lib32/perl5*) dflt=$siteprefix/lib32/$package/site_$prog/$version ;;
36+ *lib64/perl5*) dflt=$siteprefix/lib64/$package/site_$prog/$version ;;
37 *) dflt=$siteprefix/lib/site_$prog/$version ;;
38 esac
39 ;;
40@@ -6986,6 +6990,8 @@
41 prog=`echo $package | $sed 's/-*[0-9.]*$//'`
42 case "$installstyle" in
43 *lib/perl5*) dflt=$vendorprefix/lib/$package/vendor_$prog/$version ;;
44+ *lib32/perl5*) dflt=$vendorprefix/lib32/$package/vendor_$prog/$version ;;
45+ *lib64/perl5*) dflt=$vendorprefix/lib64/$package/vendor_$prog/$version ;;
46 *) dflt=$vendorprefix/lib/vendor_$prog/$version ;;
47 esac
48 ;;
Note: See TracBrowser for help on using the repository browser.