source: patches/perl-5.8.8-Configure_multilib-1.patch@ 926e7ee

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 926e7ee was 69cde8d, checked in by Jim Gifford <clfs@…>, 19 years ago

Added: All patches needed for the book.

  • Property mode set to 100644
File size: 1.4 KB
RevLine 
[69cde8d]1Submitted By: Ryan Oliver <ryan(dot)oliver(at)pha(dot)com(dot)au>
2Date: 2005-10-20
3Initial Package Version: 5.8.7
4Origin: Ryan Oliver
5Description: this patch allows perl to be installed in /usr/lib32 or /usr/lib64 instead of /usr/lib.
6
7--- perl-5.8.7/Configure-ORIG 2005-10-20 11:49:47.571389008 +1000
8+++ perl-5.8.7/Configure 2005-10-20 12:30:35.571236464 +1000
9@@ -5930,6 +5930,8 @@
10 : The default "style" setting is made in installstyle.U
11 case "$installstyle" in
12 *lib/perl5*) set dflt privlib lib/$package/$version ;;
13+*lib32/perl5*) set dflt privlib lib32/$package/$version ;;
14+*lib64/perl5*) set dflt privlib lib64/$package/$version ;;
15 *) set dflt privlib lib/$version ;;
16 esac
17 eval $prefixit
18@@ -6433,6 +6435,8 @@
19 case "$sitelib" in
20 '') case "$installstyle" in
21 *lib/perl5*) dflt=$siteprefix/lib/$package/site_$prog/$version ;;
22+ *lib32/perl5*) dflt=$siteprefix/lib32/$package/site_$prog/$version ;;
23+ *lib64/perl5*) dflt=$siteprefix/lib64/$package/site_$prog/$version ;;
24 *) dflt=$siteprefix/lib/site_$prog/$version ;;
25 esac
26 ;;
27@@ -6560,6 +6564,8 @@
28 prog=`echo $package | $sed 's/-*[0-9.]*$//'`
29 case "$installstyle" in
30 *lib/perl5*) dflt=$vendorprefix/lib/$package/vendor_$prog/$version ;;
31+ *lib32/perl5*) dflt=$vendorprefix/lib32/$package/vendor_$prog/$version ;;
32+ *lib64/perl5*) dflt=$vendorprefix/lib64/$package/vendor_$prog/$version ;;
33 *) dflt=$vendorprefix/lib/vendor_$prog/$version ;;
34 esac
35 ;;
Note: See TracBrowser for help on using the repository browser.