source:
patches/perl-5.8.8-libc-2.patch@
d9f6c44
Last change on this file since d9f6c44 was 84c8190, checked in by , 18 years ago | |
---|---|
|
|
File size: 1.1 KB |
-
hints/linux.sh
Submitted By: Anderson Lizardo <andersonlizardo(at)yahoo(dot)com(dot)br> Date: 2006-02-15 Initial Package Version: 5.8.8 Origin: based on current LFS-BOOK patch (perl-5.8.0-libc-2.patch) Description: this patch adapts some hard-wired paths to the C library. It uses the $prefix variable to locate the correct libc. diff -Naur perl-5.8.8.orig/hints/linux.sh perl-5.8.8/hints/linux.sh
old new 52 52 # We don't use __GLIBC__ and __GLIBC_MINOR__ because they 53 53 # are insufficiently precise to distinguish things like 54 54 # libc-2.0.6 and libc-2.0.7. 55 if test -L /lib/libc.so.6; then56 libc=`ls -l /lib/libc.so.6 | awk '{print $NF}'`57 libc= /lib/$libc55 if test -L ${prefix}/lib/libc.so.6; then 56 libc=`ls -l ${prefix}/lib/libc.so.6 | awk '{print $NF}'` 57 libc=${prefix}/lib/$libc 58 58 fi 59 59 60 60 # Configure may fail to find lstat() since it's a static/inline … … 330 330 libswanted="$*" 331 331 ;; 332 332 esac 333 334 locincpth="" 335 loclibpth="" 336 glibpth="${prefix}/lib" 337 usrinc="${prefix}/include"
Note:
See TracBrowser
for help on using the repository browser.