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

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 96fbea0 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/linux.sh

    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/linux.sh perl-5.8.0/hints/linux.sh
    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/libc.so.6; then
    55     libc=`ls -l /lib/libc.so.6 | awk '{print $NF}'`
    56     libc=/lib/$libc
     54if test -L /lib64/libc.so.6; then
     55    libc=`ls -l /lib64/libc.so.6 | awk '{print $NF}'`
     56    libc=/lib64/$libc
    5757fi
    5858
    5959# Configure may fail to find lstat() since it's a static/inline
Note: See TracBrowser for help on using the repository browser.