pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[patch] mail/p5-razor-agents: adjust postprocessing of Makefile for updated MakeMaker in Perl 5.22



Perl update broke mail/p5-razor-agents in 2015Q2; the attached patch
fixes it.

Log message:

Adjust postprocessing of Makefile for updated MakeMaker in Perl 5.22.
Patch by Chris Williams (bingos).

Relevant GitHub issue:
https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/issues/233
diff --git Makefile.PL Makefile.PL
index d6169fd..71aa604 100644
--- Makefile.PL
+++ Makefile.PL
@@ -140,9 +140,9 @@ sub MY::install {
   my $inherited = $self->SUPER::install(@_);
 
   my $man5 = q{ \\
-		$(INST_MAN5DIR) $(INSTALLMAN5DIR)};
+		"$(INST_MAN5DIR)" "$(INSTALLMAN5DIR)"};
 
-  $inherited =~ s/(\$\((?:DEST)?INSTALL\w*MAN1DIR\))/$1$man5/gm;
+  $inherited =~ s/(\$\((?:DEST)?INSTALL\w*MAN1DIR\)")/$1$man5/gm;
 
   return $inherited;
 }

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index