source: patches/perl-5.8.8-libc_lib64-1.patch @ e7a7a6f

Last change on this file since e7a7a6f was 69cde8d, checked in by Jim Gifford <clfs@…>, 18 years ago

Added: All patches needed for the book.

  • Property mode set to 100644
File size: 929 bytes
  • hints/

    Submitted By: Thomas Pegg <thomasp at linuxfromscratch dot org>
    Date: 2005-10-27
    Initial Package Version: 5.8.7
    Origin: based on perl-5.8.7-libc-1.patch 
    Description: this patch adapts some hard-wired paths to the C library and points it to use lib64 instead of lib.
    diff -uNr perl-5.8.0.orig/hints/ perl-5.8.0/hints/
    old new  
    5151# We don't use __GLIBC__ and  __GLIBC_MINOR__ because they
    5252# are insufficiently precise to distinguish things like
    5353# libc-2.0.6 and libc-2.0.7.
    54 if test -L /lib/; then
    55     libc=`ls -l /lib/ | awk '{print $NF}'`
    56     libc=/lib/$libc
     54if test -L /lib64/; then
     55    libc=`ls -l /lib64/ | awk '{print $NF}'`
     56    libc=/lib64/$libc
    5959# Configure may fail to find lstat() since it's a static/inline
Note: See TracBrowser for help on using the repository browser.