clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since 490bed8 was 69cde8d, checked in by Jim Gifford <clfs@…>, 19 years ago |
Added: All patches needed for the book.
|
-
Property mode
set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[69cde8d] | 1 | Submitted By: Anderson Lizardo <andersonlizardo(at)yahoo(dot)com(dot)br>
|
---|
| 2 | Date: 2006-02-02
|
---|
| 3 | Initial Package Version: 5.8.8
|
---|
| 4 | Origin: based on current LFS-BOOK patch (perl-5.8.0-libc-2.patch)
|
---|
| 5 | Description: this patch adapts some hard-wired paths to the C library.
|
---|
| 6 | It uses the $prefix variable to locate the correct libc.
|
---|
| 7 |
|
---|
| 8 | Updated to Perl 5.8.8 by Jim Gifford
|
---|
| 9 |
|
---|
| 10 | diff -Naur perl-5.8.8.orig/hints/linux.sh perl-5.8.8/hints/linux.sh
|
---|
| 11 | --- perl-5.8.8.orig/hints/linux.sh 2005-11-18 01:18:45.000000000 +0000
|
---|
| 12 | +++ perl-5.8.8/hints/linux.sh 2006-02-02 17:20:36.000000000 +0000
|
---|
| 13 | @@ -52,9 +52,9 @@
|
---|
| 14 | # We don't use __GLIBC__ and __GLIBC_MINOR__ because they
|
---|
| 15 | # are insufficiently precise to distinguish things like
|
---|
| 16 | # libc-2.0.6 and libc-2.0.7.
|
---|
| 17 | -if test -L /lib/libc.so.6; then
|
---|
| 18 | - libc=`ls -l /lib/libc.so.6 | awk '{print $NF}'`
|
---|
| 19 | - libc=/lib/$libc
|
---|
| 20 | +if test -L ${prefix}/lib/libc.so.6; then
|
---|
| 21 | + libc=`ls -l ${prefix}/lib/libc.so.6 | awk '{print $NF}'`
|
---|
| 22 | + libc=${prefix}/lib/$libc
|
---|
| 23 | fi
|
---|
| 24 |
|
---|
| 25 | # Configure may fail to find lstat() since it's a static/inline
|
---|
| 26 | @@ -330,3 +330,6 @@
|
---|
| 27 | libswanted="$*"
|
---|
| 28 | ;;
|
---|
| 29 | esac
|
---|
| 30 | +locincpth=""
|
---|
| 31 | +loclibpth=""
|
---|
| 32 | +glibpth="${prefix}/lib"
|
---|
Note:
See
TracBrowser
for help on using the repository browser.