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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since a602073 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
  • hints/linux.sh

    Submitted By: Anderson Lizardo <andersonlizardo(at)yahoo(dot)com(dot)br>
    Date: 2006-02-15
    Initial Package Version: 5.8.8
            Rediffed against 5.10.0 by Joe Ciccone on 2008-08-30
    Origin: based on current LFS-BOOK patch (perl-5.8.0-libc-2.patch)
    Description: this patch adapts some hard-wired paths to the C library.
                 It uses the $prefix variable to locate the correct libc.
    
    diff -Naur perl-5.10.0.orig/hints/linux.sh perl-5.10.0/hints/linux.sh
    old new  
    6060# We don't use __GLIBC__ and  __GLIBC_MINOR__ because they
    6161# are insufficiently precise to distinguish things like
    6262# libc-2.0.6 and libc-2.0.7.
    63 if test -L /lib/libc.so.6; then
    64     libc=`ls -l /lib/libc.so.6 | awk '{print $NF}'`
    65     libc=/lib/$libc
     63if test -L ${prefix}/lib/libc.so.6; then
     64    libc=`ls -l ${prefix}/lib/libc.so.6 | awk '{print $NF}'`
     65    libc=${prefix}/lib/$libc
    6666fi
    6767
    6868# Configure may fail to find lstat() since it's a static/inline
     
    423423    libswanted="$libswanted pthread"
    424424    ;;
    425425esac
     426
     427locincpth=""
     428loclibpth=""
     429glibpth="${prefix}/lib"
     430usrinc="${prefix}/include"
Note: See TracBrowser for help on using the repository browser.