source: patches/perl-5.14.0-Configure_multilib-1.patch@ 8b8170b

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 8b8170b was 279277d, checked in by Jonathan Norman <jon@…>, 14 years ago

Rediffed patches for coreutils and perl

  • Property mode set to 100644
File size: 1.7 KB
RevLine 
[279277d]1Submitted By: Ryan Oliver <ryan dot oliver at pha dot com dot au>
2Date: 2010-08-01
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
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 @@
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
25@@ -6502,6 +6504,8 @@
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 ;;
34@@ -7020,6 +7024,8 @@
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.