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

Last change on this file since 7b31c44 was 7b31c44, checked in by Joe Ciccone <jciccone@…>, 14 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/

    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/ perl-5.10.0/hints/
    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/; then
    64     libc=`ls -l /lib/ | awk '{print $NF}'`
    65     libc=/lib/$libc
     63if test -L ${prefix}/lib/; then
     64    libc=`ls -l ${prefix}/lib/ | awk '{print $NF}'`
     65    libc=${prefix}/lib/$libc
    6868# Configure may fail to find lstat() since it's a static/inline
    423423    libswanted="$libswanted pthread"
    424424    ;;
Note: See TracBrowser for help on using the repository browser.