source: patches/perl-5.10.1-libc-1.patch@ 5e4b3b4

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 5e4b3b4 was 1bf0ff5, checked in by Jim Gifford <clfs@…>, 15 years ago

Updated Perl to 5.10.1

  • Property mode set to 100644
File size: 1.2 KB
RevLine 
[1bf0ff5]1Submitted By: Ryan Oliver <ryan dot oliver at pha dot com dot au>
2Date: 2009-08-25
3Initial Package Version: 5.10.1
4Origin: Ryan Oliver
5Upstream Status: Unknown
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
[1bf0ff5]9Rediffed: Against 5.10.0 by Joe Ciccone on 2008-08-30
10 Against 5.10.1 By Jim Gifford on 2009-08-25
11
12diff -Naur perl-5.10.1.orig/hints/linux.sh perl-5.10.1/hints/linux.sh
13--- perl-5.10.1.orig/hints/linux.sh 2009-02-12 14:58:12.000000000 -0800
14+++ perl-5.10.1/hints/linux.sh 2009-08-25 16:20:12.000000000 -0700
15@@ -63,9 +63,9 @@
[69cde8d]16 # We don't use __GLIBC__ and __GLIBC_MINOR__ because they
17 # are insufficiently precise to distinguish things like
18 # libc-2.0.6 and libc-2.0.7.
19-if test -L /lib/libc.so.6; then
20- libc=`ls -l /lib/libc.so.6 | awk '{print $NF}'`
21- libc=/lib/$libc
22+if test -L ${prefix}/lib/libc.so.6; then
23+ libc=`ls -l ${prefix}/lib/libc.so.6 | awk '{print $NF}'`
24+ libc=${prefix}/lib/$libc
25 fi
26
27 # Configure may fail to find lstat() since it's a static/inline
[1bf0ff5]28@@ -436,3 +436,8 @@
[7b31c44]29 libswanted="$libswanted pthread"
[69cde8d]30 ;;
31 esac
[84c8190]32+
[69cde8d]33+locincpth=""
34+loclibpth=""
35+glibpth="${prefix}/lib"
[84c8190]36+usrinc="${prefix}/include"
Note: See TracBrowser for help on using the repository browser.