source: patches/perl-5.20.0-Configure_multilib-1.patch @ 92574e0

clfs-3.0.0-systemdsystemd
Last change on this file since 92574e0 was baf8424, checked in by William Harrington <kb0iic@…>, 9 years ago

Remove space in perl multilib patch and update size and md5 hash in patches.ent

  • Property mode set to 100644
File size: 2.0 KB
RevLine 
[b3458f8]1Submitted By: William Harrington <kb0iic at cross-lfs dot org>
2Date: 2014-29-14
3Initial Package Version: 5.12.0
4Origin: Cross-LFS
5Upstream Status: Not Applied - Internal to CLFS
[af2cd26b]6Description: This patch allows perl to be installed in /usr/lib32
7             or /usr/lib64 instead of /usr/lib.
8
[b3458f8]9diff -Naur perl-5.20.0.orig/Configure perl-5.20.0/Configure
10--- perl-5.20.0.orig/Configure  2014-05-26 13:34:18.000000000 +0000
[baf8424]11+++ perl-5.20.0/Configure       2014-05-30 01:43:45.621522372 +0000
[b3458f8]12@@ -1359,6 +1359,7 @@
13 glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib"
14 test -f /usr/shlib/libc.so && glibpth="/usr/shlib $glibpth"
15 test -f /shlib/libc.so     && glibpth="/shlib $glibpth"
16+test -d /usr/lib32         && glibpth="$glibpth /lib32 /usr/lib32 /usr/local/lib32"
17 test -d /usr/lib64         && glibpth="$glibpth /lib64 /usr/lib64 /usr/local/lib64"
18 
19 : Private path used by Configure to find libraries.  Its value
20@@ -6500,6 +6501,8 @@
[af2cd26b]21 : The default "style" setting is made in installstyle.U
22 case "$installstyle" in
23 *lib/perl5*) set dflt privlib lib/$package/$version ;;
24+*lib32/perl5*) set dflt privlib lib32/$package/$version ;;
25+*lib64/perl5*) set dflt privlib lib64/$package/$version ;;
26 *)      set dflt privlib lib/$version ;;
27 esac
28 eval $prefixit
[b3458f8]29@@ -6748,6 +6751,8 @@
[af2cd26b]30 case "$sitelib" in
31 '') case "$installstyle" in
32        *lib/perl5*) dflt=$siteprefix/lib/$package/site_$prog/$version ;;
[b3458f8]33+       *lib32/perl5*) dflt=$witeprefix/lib32/$package/site_$prog/$version ;;
[af2cd26b]34+       *lib64/perl5*) dflt=$siteprefix/lib64/$package/site_$prog/$version ;;
35        *)       dflt=$siteprefix/lib/site_$prog/$version ;;
36        esac
37        ;;
[baf8424]38@@ -7166,6 +7171,8 @@
[af2cd26b]39                prog=`echo $package | $sed 's/-*[0-9.]*$//'`
40                case "$installstyle" in
41                *lib/perl5*) dflt=$vendorprefix/lib/$package/vendor_$prog/$version ;;
42+               *lib32/perl5*) dflt=$vendorprefix/lib32/$package/vendor_$prog/$version ;;
43+               *lib64/perl5*) dflt=$vendorprefix/lib64/$package/vendor_$prog/$version ;;
44                *)           dflt=$vendorprefix/lib/vendor_$prog/$version ;;
45                esac
46                ;;
Note: See TracBrowser for help on using the repository browser.