source: patches/perl-5.10.0-libc-1.patch@ b854065

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since b854065 was 7b31c44, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Updated Coreutils to 6.12.
Drop Mktemp in favor of the version included in Coreutils.
Updated Perl to 5.10.0.
Updated File to 4.25.
Updated File to 4.26.
Updated GCC to 4.3.2.

  • Property mode set to 100644
File size: 1.2 KB
RevLine 
[69cde8d]1Submitted By: Anderson Lizardo <andersonlizardo(at)yahoo(dot)com(dot)br>
[84c8190]2Date: 2006-02-15
[69cde8d]3Initial Package Version: 5.8.8
[7b31c44]4 Rediffed against 5.10.0 by Joe Ciccone on 2008-08-30
[69cde8d]5Origin: based on current LFS-BOOK patch (perl-5.8.0-libc-2.patch)
6Description: 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
[7b31c44]9diff -Naur perl-5.10.0.orig/hints/linux.sh perl-5.10.0/hints/linux.sh
10--- perl-5.10.0.orig/hints/linux.sh 2007-12-18 05:47:07.000000000 -0500
11+++ perl-5.10.0/hints/linux.sh 2008-08-31 11:57:41.000000000 -0400
12@@ -60,9 +60,9 @@
[69cde8d]13 # We don't use __GLIBC__ and __GLIBC_MINOR__ because they
14 # are insufficiently precise to distinguish things like
15 # libc-2.0.6 and libc-2.0.7.
16-if test -L /lib/libc.so.6; then
17- libc=`ls -l /lib/libc.so.6 | awk '{print $NF}'`
18- libc=/lib/$libc
19+if test -L ${prefix}/lib/libc.so.6; then
20+ libc=`ls -l ${prefix}/lib/libc.so.6 | awk '{print $NF}'`
21+ libc=${prefix}/lib/$libc
22 fi
23
24 # Configure may fail to find lstat() since it's a static/inline
[7b31c44]25@@ -423,3 +423,8 @@
26 libswanted="$libswanted pthread"
[69cde8d]27 ;;
28 esac
[84c8190]29+
[69cde8d]30+locincpth=""
31+loclibpth=""
32+glibpth="${prefix}/lib"
[84c8190]33+usrinc="${prefix}/include"
Note: See TracBrowser for help on using the repository browser.