Author: matthew
Date: 2006-02-14 15:19:52 -0700 (Tue, 14 Feb 2006)
New Revision: 1399

Added:
   trunk/perl/perl-5.8.8-libc-2.patch
Log:
Update Perl libc patch for new upstream release

Added: trunk/perl/perl-5.8.8-libc-2.patch
===================================================================
--- trunk/perl/perl-5.8.8-libc-2.patch                          (rev 0)
+++ trunk/perl/perl-5.8.8-libc-2.patch  2006-02-14 22:19:52 UTC (rev 1399)
@@ -0,0 +1,25 @@
+diff -Naur perl-5.8.8.orig/hints/linux.sh perl-5.8.8/hints/linux.sh
+--- perl-5.8.8.orig/hints/linux.sh     2005-11-18 01:18:45.000000000 +0000
++++ perl-5.8.8/hints/linux.sh  2006-02-12 12:20:32.000000000 +0000
+@@ -52,9 +52,9 @@
+ # We don't use __GLIBC__ and  __GLIBC_MINOR__ because they
+ # are insufficiently precise to distinguish things like
+ # libc-2.0.6 and libc-2.0.7.
+-if test -L /lib/libc.so.6; then
+-    libc=`ls -l /lib/libc.so.6 | awk '{print $NF}'`
+-    libc=/lib/$libc
++if test -L ${prefix}/lib/libc.so.6; then
++    libc=`ls -l ${prefix}/lib/libc.so.6 | awk '{print $NF}'`
++    libc=${prefix}/lib/$libc
+ fi
+ 
+ # Configure may fail to find lstat() since it's a static/inline
+@@ -330,3 +330,8 @@
+     libswanted="$*"
+     ;;
+ esac
++
++locincpth=""
++loclibpth=""
++glibpth="${prefix}/lib"
++usrinc="${prefix}/include"

-- 
http://linuxfromscratch.org/mailman/listinfo/patches
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to