source:
patches/perl-5.10.0-libc-1.patch@
1ebba95
Last change on this file since 1ebba95 was 7b31c44, checked in by , 16 years ago | |
---|---|
|
|
File size: 1.2 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 Rediffed against 5.10.0 by Joe Ciccone on 2008-08-30 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.10.0.orig/hints/linux.sh perl-5.10.0/hints/linux.sh
old new 60 60 # We don't use __GLIBC__ and __GLIBC_MINOR__ because they 61 61 # are insufficiently precise to distinguish things like 62 62 # libc-2.0.6 and libc-2.0.7. 63 if test -L /lib/libc.so.6; then64 libc=`ls -l /lib/libc.so.6 | awk '{print $NF}'`65 libc= /lib/$libc63 if test -L ${prefix}/lib/libc.so.6; then 64 libc=`ls -l ${prefix}/lib/libc.so.6 | awk '{print $NF}'` 65 libc=${prefix}/lib/$libc 66 66 fi 67 67 68 68 # Configure may fail to find lstat() since it's a static/inline … … 423 423 libswanted="$libswanted pthread" 424 424 ;; 425 425 esac 426 427 locincpth="" 428 loclibpth="" 429 glibpth="${prefix}/lib" 430 usrinc="${prefix}/include"
Note:
See TracBrowser
for help on using the repository browser.