perl-xml.patch 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. Index: HTML-Prototype-Useful-0.05/Makefile.PL
  2. --- HTML-Prototype-Useful-0.05/Makefile.PL.orig 2006-07-02 11:56:00 +0200
  3. +++ HTML-Prototype-Useful-0.05/Makefile.PL 2006-09-23 09:33:57 +0200
  4. @@ -1,31 +1,9 @@
  5. -# Note: this file was auto-generated by Module::Build::Compat version 0.03
  6. -
  7. - unless (eval "use Module::Build::Compat 0.02; 1" ) {
  8. - print "This module requires Module::Build to install itself.\n";
  9. -
  10. - require ExtUtils::MakeMaker;
  11. - my $yn = ExtUtils::MakeMaker::prompt
  12. - (' Install Module::Build now from CPAN?', 'y');
  13. -
  14. - unless ($yn =~ /^y/i) {
  15. - die " *** Cannot install without Module::Build. Exiting ...\n";
  16. - }
  17. -
  18. - require Cwd;
  19. - require File::Spec;
  20. - require CPAN;
  21. -
  22. - # Save this 'cause CPAN will chdir all over the place.
  23. - my $cwd = Cwd::cwd();
  24. -
  25. - CPAN::Shell->install('Module::Build::Compat');
  26. - CPAN::Shell->expand("Module", "Module::Build::Compat")->uptodate
  27. - or die "Couldn't install Module::Build, giving up.\n";
  28. -
  29. - chdir $cwd or die "Cannot chdir() back to $cwd: $!";
  30. - }
  31. - eval "use Module::Build::Compat 0.02; 1" or die $@;
  32. -
  33. - Module::Build::Compat->run_build_pl(args => \@ARGV);
  34. - require Module::Build;
  35. - Module::Build::Compat->write_makefile(build_class => 'Module::Build');
  36. +
  37. +require 5.006;
  38. +use strict;
  39. +use ExtUtils::MakeMaker;
  40. +
  41. +WriteMakefile(
  42. + NAME => 'HTML::Prototype::Useful',
  43. +);
  44. +
  45. Index: XML-Atom-0.19/Makefile.PL
  46. --- XML-Atom-0.19/Makefile.PL.orig 2006-03-18 15:11:19 +0100
  47. +++ XML-Atom-0.19/Makefile.PL 2006-09-23 09:33:57 +0200
  48. @@ -39,6 +39,5 @@
  49. );
  50. auto_include();
  51. -auto_install();
  52. &WriteAll;