[d188053] | 1 | Submitted By: William Harrington <kb0iic at cross-lfs dot org>
|
---|
[6280055] | 2 | Date: 2017-06-09
|
---|
[d188053] | 3 | Initial Package Version: 5.12.0
|
---|
| 4 | Origin: Cross-LFS
|
---|
| 5 | Upstream Status: Not Applied - Internal to CLFS
|
---|
| 6 | Description: This patch allows perl to be installed in /usr/lib32
|
---|
| 7 | or /usr/lib64 instead of /usr/lib.
|
---|
| 8 |
|
---|
[6280055] | 9 | Comments: Renamed for 5.26.0
|
---|
[d188053] | 10 |
|
---|
| 11 | diff -Naur perl-5.20.0.orig/Configure perl-5.20.0/Configure
|
---|
| 12 | --- perl-5.20.0.orig/Configure 2014-05-26 13:34:18.000000000 +0000
|
---|
| 13 | +++ perl-5.20.0/Configure 2014-05-30 01:43:45.621522372 +0000
|
---|
| 14 | @@ -1359,6 +1359,7 @@
|
---|
| 15 | glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib"
|
---|
| 16 | test -f /usr/shlib/libc.so && glibpth="/usr/shlib $glibpth"
|
---|
| 17 | test -f /shlib/libc.so && glibpth="/shlib $glibpth"
|
---|
| 18 | +test -d /usr/lib32 && glibpth="$glibpth /lib32 /usr/lib32 /usr/local/lib32"
|
---|
| 19 | test -d /usr/lib64 && glibpth="$glibpth /lib64 /usr/lib64 /usr/local/lib64"
|
---|
| 20 |
|
---|
| 21 | : Private path used by Configure to find libraries. Its value
|
---|
| 22 | @@ -6500,6 +6501,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 | @@ -6748,6 +6751,8 @@
|
---|
| 32 | case "$sitelib" in
|
---|
| 33 | '') case "$installstyle" in
|
---|
| 34 | *lib/perl5*) dflt=$siteprefix/lib/$package/site_$prog/$version ;;
|
---|
| 35 | + *lib32/perl5*) dflt=$witeprefix/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 | @@ -7166,6 +7171,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 | ;;
|
---|