Author: agrundman
Date: Mon Sep 12 13:39:25 2011
New Revision: 9522

URL: http://svn.slimdevices.com/jive?rev=9522&view=rev
Log:
Updated Makefile patch for XML::Parser 2.41

Modified:
    
7.7/trunk/squeezeos/poky/meta-squeezeos/packages/perl/libxml-parser-perl-Expat-Makefile.PL.patch

Modified: 
7.7/trunk/squeezeos/poky/meta-squeezeos/packages/perl/libxml-parser-perl-Expat-Makefile.PL.patch
URL: 
http://svn.slimdevices.com/jive/7.7/trunk/squeezeos/poky/meta-squeezeos/packages/perl/libxml-parser-perl-Expat-Makefile.PL.patch?rev=9522&r1=9521&r2=9522&view=diff
==============================================================================
--- 
7.7/trunk/squeezeos/poky/meta-squeezeos/packages/perl/libxml-parser-perl-Expat-Makefile.PL.patch
 (original)
+++ 
7.7/trunk/squeezeos/poky/meta-squeezeos/packages/perl/libxml-parser-perl-Expat-Makefile.PL.patch
 Mon Sep 12 13:39:25 2011
@@ -1,12 +1,66 @@
-English.pm uses Errno.pm which checks that it is on the target platform
-
---- XML-Parser-2.36/Expat/Makefile.PL.orig     2009-02-27 14:57:00.000000000 
+0100
-+++ XML-Parser-2.36/Expat/Makefile.PL  2009-02-27 14:57:17.000000000 +0100
+diff -ur XML-Parser-2.41-orig/Expat/Makefile.PL 
XML-Parser-2.41/Expat/Makefile.PL
+--- XML-Parser-2.41-orig/Expat/Makefile.PL     2011-06-03 01:35:32.000000000 
-0400
++++ XML-Parser-2.41/Expat/Makefile.PL  2011-09-12 16:38:33.000000000 -0400
 @@ -1,6 +1,6 @@
  use ExtUtils::MakeMaker;
  use Config;
 -use English;
-+# use English;
++#use English;
  
  my $libs = "-lexpat";
- @extras = ();
+ my @extras = ();
+diff -ur XML-Parser-2.41-orig/Makefile.PL XML-Parser-2.41/Makefile.PL
+--- XML-Parser-2.41-orig/Makefile.PL   2011-09-12 16:36:32.000000000 -0400
++++ XML-Parser-2.41/Makefile.PL        2011-09-12 16:38:08.000000000 -0400
+@@ -2,7 +2,6 @@
+ use 5.004005; #Devel::CheckLib
+ use ExtUtils::MakeMaker;
+ use lib qw(inc);
+-use Devel::CheckLib;
+ 
+ use Config;
+ 
+@@ -28,43 +27,6 @@
+ 
+ @ARGV = @replacement_args;
+ 
+-unless (
+-  check_lib(     # fill in what you prompted the user for here
+-    lib => [qw(expat)],
+-    header => ['expat.h'],
+-    incpath => $expat_incpath,
+-    ($expat_libpath?
+-    (libpath => $expat_libpath):()),
+-  )) {
+-    warn <<'Expat_Not_Installed;';
+-
+-Expat must be installed prior to building XML::Parser and I can't find
+-it in the standard library directories. Install 'expat-devel' package with 
your
+-OS package manager. See 'README'.
+-
+-Or you can download expat from:
+-
+-http://sourceforge.net/projects/expat/
+-
+-If expat is installed, but in a non-standard directory, then use the
+-following options to Makefile.PL:
+-
+-    EXPATLIBPATH=...  To set the directory in which to find libexpat
+-
+-    EXPATINCPATH=...  To set the directory in which to find expat.h
+-
+-For example:
+-
+-    perl Makefile.PL EXPATLIBPATH=/home/me/lib EXPATINCPATH=/home/me/include
+-
+-Note that if you build against a shareable library in a non-standard location
+-you may (on some platforms) also have to set your LD_LIBRARY_PATH environment
+-variable at run time for perl to find the library.
+-
+-Expat_Not_Installed;
+-    #exit;
+-}
+-
+ if (not $expat_libpath and $] >= 5.006001 and $^O ne 'MSWin32') {
+   require ExtUtils::Liblist;          # Buggy before this
+   ($expat_libpath) = ExtUtils::Liblist->ext('-lexpat');

_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins

Reply via email to