Author: jim
Date: 2006-02-02 10:25:47 -0700 (Thu, 02 Feb 2006)
New Revision: 1383

Added:
   trunk/perl/perl-5.8.8-libc-1.patch
Modified:
   trunk/
Log:
 [EMAIL PROTECTED]:  jim | 2006-02-02 09:24:11 -0800
 Added: perl-5.8.8-libc-1.patch



Property changes on: trunk
___________________________________________________________________
Name: svk:merge
   - cc2644d5-6cf8-0310-b111-c40428001e49:/patches:1710
e59974df-c20a-0410-b7e1-d7eaf1be8828:/patches:1402
   + cc2644d5-6cf8-0310-b111-c40428001e49:/patches:1710
e59974df-c20a-0410-b7e1-d7eaf1be8828:/patches:1403

Added: trunk/perl/perl-5.8.8-libc-1.patch
===================================================================
--- trunk/perl/perl-5.8.8-libc-1.patch                          (rev 0)
+++ trunk/perl/perl-5.8.8-libc-1.patch  2006-02-02 17:25:47 UTC (rev 1383)
@@ -0,0 +1,32 @@
+Submitted By: Anderson Lizardo <andersonlizardo(at)yahoo(dot)com(dot)br>
+Date: 2006-02-02
+Initial Package Version: 5.8.8
+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. 
+
+            Updated to Perl 5.8.8 by Jim Gifford
+
+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-02 17:20:36.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,6 @@
+     libswanted="$*"
+     ;;
+ esac
++locincpth=""
++loclibpth=""
++glibpth="${prefix}/lib"

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

Reply via email to