source:
patches/perl-5.20.0-Configure_multilib-1.patch@
4165318
Last change on this file since 4165318 was 786babf, checked in by , 10 years ago | |
---|---|
|
|
File size: 2.0 KB |
-
perl-5.20.0
Submitted By: William Harrington <kb0iic at cross-lfs dot org> Date: 2014-29-14 Initial Package Version: 5.12.0 Origin: Cross-LFS Upstream Status: Not Applied - Internal to CLFS Description: This patch allows perl to be installed in /usr/lib32 or /usr/lib64 instead of /usr/lib. diff -Naur perl-5.20.0.orig/Configure perl-5.20.0/Configure
old new 1359 1359 glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib" 1360 1360 test -f /usr/shlib/libc.so && glibpth="/usr/shlib $glibpth" 1361 1361 test -f /shlib/libc.so && glibpth="/shlib $glibpth" 1362 test -d /usr/lib32 && glibpth="$glibpth /lib32 /usr/lib32 /usr/local/lib32" 1362 1363 test -d /usr/lib64 && glibpth="$glibpth /lib64 /usr/lib64 /usr/local/lib64" 1363 1364 1364 1365 : Private path used by Configure to find libraries. Its value … … 6500 6501 : The default "style" setting is made in installstyle.U 6501 6502 case "$installstyle" in 6502 6503 *lib/perl5*) set dflt privlib lib/$package/$version ;; 6504 *lib32/perl5*) set dflt privlib lib32/$package/$version ;; 6505 *lib64/perl5*) set dflt privlib lib64/$package/$version ;; 6503 6506 *) set dflt privlib lib/$version ;; 6504 6507 esac 6505 6508 eval $prefixit … … 6748 6751 case "$sitelib" in 6749 6752 '') case "$installstyle" in 6750 6753 *lib/perl5*) dflt=$siteprefix/lib/$package/site_$prog/$version ;; 6754 *lib32/perl5*) dflt=$witeprefix/lib32/$package/site_$prog/$version ;; 6755 *lib64/perl5*) dflt=$siteprefix/lib64/$package/site_$prog/$version ;; 6751 6756 *) dflt=$siteprefix/lib/site_$prog/$version ;; 6752 6757 esac 6753 6758 ;; … … 7166 7171 prog=`echo $package | $sed 's/-*[0-9.]*$//'` 7167 7172 case "$installstyle" in 7168 7173 *lib/perl5*) dflt=$vendorprefix/lib/$package/vendor_$prog/$version ;; 7174 *lib32/perl5*) dflt=$vendorprefix/lib32/$package/vendor_$prog/$version ;; 7175 *lib64/perl5*) dflt=$vendorprefix/lib64/$package/vendor_$prog/$version ;; 7169 7176 *) dflt=$vendorprefix/lib/vendor_$prog/$version ;; 7170 7177 esac 7171 7178 ;;
Note:
See TracBrowser
for help on using the repository browser.