freebsd-ports/lang/perl5.14/files/patch-cpan__ExtUtils-MakeMaker__lib__ExtUtils__MakeMaker.pm
Philip M. Gollucci 7d4e10f17d - Pull a19beeaa9f/raw
to fix:
 Can't use string "XXX" as an ARRAY ref while "strict refs" in use at
 /usr/local/lib/perl5/5.14.2/ExtUtils/MM_Unix.pm line 2893.

- perl 5.14.[012] shipped with a broken version of ExtUtils::MakeMakker (6.57_06)
  which is fixed in 6.57_06.  This patch can hopefully go away when/if perl 5.14.3
  is released.

- Bump PORTREVISION

PR:         ports/165457
With Hat:   perl@
2012-03-07 05:00:04 +00:00

11 lines
451 B
Perl

--- ./cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm.orig 2012-03-07 04:45:16.252747795 +0000
+++ ./cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm 2012-03-07 04:46:18.391746557 +0000
@@ -401,6 +401,8 @@
my($class,$self) = @_;
my($key);
+ _convert_compat_attrs($self) if defined $self && $self;
+
# Store the original args passed to WriteMakefile()
foreach my $k (keys %$self) {
$self->{ARGS}{$k} = $self->{$k};