clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change
on this file since 6c5a343 was
a81c020,
checked in by Joe Ciccone <jciccone@…>, 13 years ago
|
Updated Perl to 5.12.2.
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Rev | Line | |
---|
[1bf0ff5] | 1 | Submitted By: Ryan Oliver <ryan dot oliver at pha dot com dot au> |
---|
[c7fdd488] | 2 | Date: 2010-08-01 |
---|
| 3 | Initial Package Version: 5.8.8 |
---|
[1bf0ff5] | 4 | Origin: Ryan Oliver |
---|
| 5 | Upstream Status: Unknown |
---|
| 6 | Description: This patch adapts some hard-wired paths to the C library. |
---|
[84c8190] | 7 | It uses the $prefix variable to locate the correct libc. |
---|
[69cde8d] | 8 | |
---|
[1bf0ff5] | 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 |
---|
[c7fdd488] | 11 | Against 5.12.1 By Joe Ciccone on 2010-08-01 |
---|
[1bf0ff5] | 12 | |
---|
[c7fdd488] | 13 | diff -Naur perl-5.12.1.orig/hints/linux.sh perl-5.12.1/hints/linux.sh |
---|
| 14 | --- perl-5.12.1.orig/hints/linux.sh 2010-04-26 04:09:20.000000000 -0400 |
---|
| 15 | +++ perl-5.12.1/hints/linux.sh 2010-08-01 18:19:24.558078088 -0400 |
---|
[1bf0ff5] | 16 | @@ -63,9 +63,9 @@ |
---|
[69cde8d] | 17 | # We don't use __GLIBC__ and __GLIBC_MINOR__ because they |
---|
| 18 | # are insufficiently precise to distinguish things like |
---|
| 19 | # libc-2.0.6 and libc-2.0.7. |
---|
| 20 | -if test -L /lib/libc.so.6; then |
---|
| 21 | - libc=`ls -l /lib/libc.so.6 | awk '{print $NF}'` |
---|
| 22 | - libc=/lib/$libc |
---|
| 23 | +if test -L ${prefix}/lib/libc.so.6; then |
---|
| 24 | + libc=`ls -l ${prefix}/lib/libc.so.6 | awk '{print $NF}'` |
---|
| 25 | + libc=${prefix}/lib/$libc |
---|
| 26 | fi |
---|
| 27 | |
---|
| 28 | # Configure may fail to find lstat() since it's a static/inline |
---|
[c7fdd488] | 29 | @@ -441,3 +441,8 @@ |
---|
[7b31c44] | 30 | libswanted="$libswanted pthread" |
---|
[69cde8d] | 31 | ;; |
---|
| 32 | esac |
---|
[84c8190] | 33 | + |
---|
[69cde8d] | 34 | +locincpth="" |
---|
| 35 | +loclibpth="" |
---|
| 36 | +glibpth="${prefix}/lib" |
---|
[84c8190] | 37 | +usrinc="${prefix}/include" |
---|
Note: See
TracBrowser
for help on using the repository browser.