source: patches/perl-5.8.8-libc-2.patch@ 80a92ec

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 80a92ec was 84c8190, checked in by Jim Gifford <clfs@…>, 18 years ago

Update to Perl patch

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[69cde8d]1Submitted By: Anderson Lizardo <andersonlizardo(at)yahoo(dot)com(dot)br>
[84c8190]2Date: 2006-02-15
[69cde8d]3Initial Package Version: 5.8.8
4Origin: based on current LFS-BOOK patch (perl-5.8.0-libc-2.patch)
5Description: this patch adapts some hard-wired paths to the C library.
[84c8190]6 It uses the $prefix variable to locate the correct libc.
[69cde8d]7
8diff -Naur perl-5.8.8.orig/hints/linux.sh perl-5.8.8/hints/linux.sh
9--- perl-5.8.8.orig/hints/linux.sh 2005-11-18 01:18:45.000000000 +0000
[84c8190]10+++ perl-5.8.8/hints/linux.sh 2006-02-12 12:20:32.000000000 +0000
[69cde8d]11@@ -52,9 +52,9 @@
12 # We don't use __GLIBC__ and __GLIBC_MINOR__ because they
13 # are insufficiently precise to distinguish things like
14 # libc-2.0.6 and libc-2.0.7.
15-if test -L /lib/libc.so.6; then
16- libc=`ls -l /lib/libc.so.6 | awk '{print $NF}'`
17- libc=/lib/$libc
18+if test -L ${prefix}/lib/libc.so.6; then
19+ libc=`ls -l ${prefix}/lib/libc.so.6 | awk '{print $NF}'`
20+ libc=${prefix}/lib/$libc
21 fi
22
23 # Configure may fail to find lstat() since it's a static/inline
[84c8190]24@@ -330,3 +330,8 @@
[69cde8d]25 libswanted="$*"
26 ;;
27 esac
[84c8190]28+
[69cde8d]29+locincpth=""
30+loclibpth=""
31+glibpth="${prefix}/lib"
[84c8190]32+usrinc="${prefix}/include"
Note: See TracBrowser for help on using the repository browser.