aboutsummaryrefslogtreecommitdiffstats
path: root/audio/mp3lint
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2015-04-22 21:17:26 +0800
committermat <mat@FreeBSD.org>2015-04-22 21:17:26 +0800
commitc712ced92b9c962b42c767875f87fffe5eb0bc87 (patch)
tree92ee36dcf0aaa5ea52e076a396c00c99d5e57bb9 /audio/mp3lint
parentc57459afbca852020075d88e291110b303033139 (diff)
downloadfreebsd-ports-gnome-c712ced92b9c962b42c767875f87fffe5eb0bc87.tar.gz
freebsd-ports-gnome-c712ced92b9c962b42c767875f87fffe5eb0bc87.tar.zst
freebsd-ports-gnome-c712ced92b9c962b42c767875f87fffe5eb0bc87.zip
Fix with Perl 5.21.6+ (ExtUtils::MakeMaker 6.99 -> 7.02)
With hat: perl@ Sponsored by: Absolight
Diffstat (limited to 'audio/mp3lint')
-rw-r--r--audio/mp3lint/files/patch-Makefile.PL11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/mp3lint/files/patch-Makefile.PL b/audio/mp3lint/files/patch-Makefile.PL
new file mode 100644
index 000000000000..21c2b42fb508
--- /dev/null
+++ b/audio/mp3lint/files/patch-Makefile.PL
@@ -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;
+ }