[af2cd26b] | 1 | Submitted By: Jonathan Norman <Jonathan at bluesquarelinux.co.uk> |
---|
| 2 | Date: 2013-08-13 |
---|
| 3 | Initial Package Version: 5.8.8 |
---|
| 4 | Origin: Ryan Oliver |
---|
| 5 | Upstream Status: Unknown |
---|
| 6 | Description: This patch adapts some hard-wired paths to the C library. |
---|
| 7 | It uses the $prefix variable to locate the correct libc. |
---|
| 8 | |
---|
| 9 | Rediffed: Against 5.10.0 by Joe Ciccone on 2008-08-30 |
---|
| 10 | Against 5.10.1 By Jim Gifford on 2009-08-25 |
---|
| 11 | Against 5.12.1 By Joe Ciccone on 2010-08-01 |
---|
| 12 | Against 5.14.0 By Jonathan Norman on 2011-05-17 |
---|
| 13 | Against 5.16.1 by William Harrington on 2012-08-26 |
---|
| 14 | Rename for 5.16.2 by William Harrington on 2012-11-01 |
---|
| 15 | |
---|
| 16 | Rediffed: Against 5.18.0 by William Harrington on 2013-05-27 |
---|
| 17 | Rediffed: Against 5.18.1 by William Harrington on 2013-08-13 |
---|
| 18 | Rediffed: Against 5.18.2 by Chris Staub on 2014-01-10 |
---|
| 19 | |
---|
| 20 | diff -Naur perl-5.18.2.orig/hints/linux.sh perl-5.18.2/hints/linux.sh |
---|
| 21 | --- perl-5.18.2.orig/hints/linux.sh 2014-01-06 17:46:45.000000000 -0500 |
---|
| 22 | +++ perl-5.18.2/hints/linux.sh 2014-01-10 02:34:36.000000000 -0500 |
---|
| 23 | @@ -66,9 +66,9 @@ |
---|
| 24 | # We don't use __GLIBC__ and __GLIBC_MINOR__ because they |
---|
| 25 | # are insufficiently precise to distinguish things like |
---|
| 26 | # libc-2.0.6 and libc-2.0.7. |
---|
| 27 | -if test -L /lib/libc.so.6; then |
---|
| 28 | - libc=`ls -l /lib/libc.so.6 | awk '{print $NF}'` |
---|
| 29 | - libc=/lib/$libc |
---|
| 30 | +if test -L ${prefix}/lib/libc.so.6; then |
---|
| 31 | + libc=`ls -l ${prefix}/lib/libc.so.6 | awk '{print $NF}'` |
---|
| 32 | + libc=${prefix}/lib/$libc |
---|
| 33 | fi |
---|
| 34 | |
---|
| 35 | # Configure may fail to find lstat() since it's a static/inline |
---|
| 36 | @@ -456,3 +456,9 @@ |
---|
| 37 | libswanted="$libswanted pthread" |
---|
| 38 | ;; |
---|
| 39 | esac |
---|
| 40 | + |
---|
| 41 | +locincpth="" |
---|
| 42 | +loclibpth="" |
---|
| 43 | +glibpth="${prefix}/lib" |
---|
| 44 | +usrinc="${prefix}/include" |
---|
| 45 | + |
---|