slackbuilds_ponce/network/razor-agents/makefile_quoted_vars.diff
Andreas Voegele 1fae00e081 network/razor-agents: Added patch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2015-08-21 03:25:03 +07:00

13 lines
504 B
Diff

Recent MakeMaker versions quote variables.
diff -ur razor-agents-2.85.orig/Makefile.PL razor-agents-2.85/Makefile.PL
--- razor-agents-2.85.orig/Makefile.PL 2007-05-09 00:47:53.000000000 +0200
+++ razor-agents-2.85/Makefile.PL 2015-08-19 06:35:39.000000000 +0200
@@ -142,7 +142,7 @@
my $man5 = q{ \\
$(INST_MAN5DIR) $(INSTALLMAN5DIR)};
- $inherited =~ s/(\$\((?:DEST)?INSTALL\w*MAN1DIR\))/$1$man5/gm;
+ $inherited =~ s/(\$\((?:DEST)?INSTALL\w*MAN1DIR\)"?)/$1$man5/gm;
return $inherited;
}