1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

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

With hat:	perl@
Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2015-04-22 13:17:26 +00:00
parent 4e2777d4e4
commit 8bbc0d8838
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=384490

View File

@ -0,0 +1,11 @@
--- Makefile.PL.orig 2015-04-22 12:59:15 UTC
+++ Makefile.PL
@@ -124,7 +124,7 @@ sub MY::install {
my $self = shift;
my $inherited = $self->SUPER::install(@_);
my $conf="\t\t\$(INST_SYSCONFDIR) \$(DESTINSTALLSYSCONFDIR)";
- $inherited =~ s/(^\s*\$\(INST_MAN)3(DIR\s*.*MAN)3(DIR\))/${1}3${2}3$3 \\\n${1}5${2}5$3 \\\n$conf/gm;
+ $inherited =~ s/(^\s*"?\$\(INST_MAN)3(DIR"?.*MAN)3(DIR\)"?)/${1}3${2}3$3 \\\n${1}5${2}5$3 \\\n$conf/gm;
return $inherited;
}