freebsd-ports/textproc/p5-PerlPoint-Converters/files/patch-Makefile.PL
Mathieu Arnold 135d073761 Fix configure with modern Perl.
Sponsored by:	Absolight
2015-04-14 13:06:42 +00:00

12 lines
423 B
Perl

--- Makefile.PL.orig 2006-02-08 15:06:06 UTC
+++ Makefile.PL
@@ -6,8 +6,7 @@ use ExtUtils::MakeMaker;
# the package requires modern perl
require 5.005_03;
-my $self = 0; # just to fake $self
-my $version = ExtUtils::MM_Unix::parse_version($self, 'lib/PerlPoint/Converters.pm');
+my $version = ExtUtils::MM_Unix->parse_version('lib/PerlPoint/Converters.pm');
$ok=WriteMakefile(
'NAME' => 'PerlPoint-Converters',