Fix with Perl 5.21.6+ (ExtUtils::MakeMaker 6.99 -> 7.02)

Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2015-04-20 13:11:44 +00:00
parent 0da84005cc
commit bd1d474d08
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=384359

View File

@ -0,0 +1,10 @@
--- Makefile.PL.orig 2015-04-20 12:59:25 UTC
+++ Makefile.PL
@@ -83,6 +83,6 @@ sub install {
}
$string = "\n$vars\n$string";
- $string =~ s{(\t\$\(INST_BIN\) \$\((DESTINSTALL.*?)BIN.+)}{$1\n\t\t\$(INST_SHARE) \$($2SHARE) \\}g;
+ $string =~ s{(\t"?\$\(INST_BIN\)"? "?\$\((DESTINSTALL.*?)BIN.+)"?}{$1\n\t\t\$(INST_SHARE) \$($2SHARE) \\}g;
return $string;
}