1 --- perl-5.8.0.orig/hints/linux.sh 2002-06-05 23:46:00.000000000 +1000
2 +++ perl-5.8.0/hints/linux.sh 2003-02-19 16:32:18.000000000 +1100
4 # We don't use __GLIBC__ and __GLIBC_MINOR__ because they
5 # are insufficiently precise to distinguish things like
6 # libc-2.0.6 and libc-2.0.7.
7 -if test -L /lib/libc.so.6; then
8 - libc=`ls -l /lib/libc.so.6 | awk '{print $NF}'`
10 +if test -L ${prefix}/lib/libc.so.6; then
11 + libc=`ls -l ${prefix}/lib/libc.so.6 | awk '{print $NF}'`
12 + libc=${prefix}/lib/$libc
15 # Configure may fail to find lstat() since it's a static/inline
22 +glibpth="${prefix}/lib"