summaryrefslogtreecommitdiffstats
path: root/network/razor-agents/makefile_quoted_vars.diff
diff options
context:
space:
mode:
author Andreas Voegele <andreas@andreasvoegele.com>2015-08-19 22:53:25 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2015-08-21 03:25:03 +0700
commit1fae00e0812905d3c91fdc4644eede1def2c0739 (patch)
tree750356fc22ce1aea8766d4b2a7352a5bc7961ef5 /network/razor-agents/makefile_quoted_vars.diff
parentb2462a16ff774cd936dd24b03126f8204263a98f (diff)
downloadslackbuilds-1fae00e0812905d3c91fdc4644eede1def2c0739.tar.gz
slackbuilds-1fae00e0812905d3c91fdc4644eede1def2c0739.tar.xz
network/razor-agents: Added patch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/razor-agents/makefile_quoted_vars.diff')
-rw-r--r--network/razor-agents/makefile_quoted_vars.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/network/razor-agents/makefile_quoted_vars.diff b/network/razor-agents/makefile_quoted_vars.diff
new file mode 100644
index 0000000000..1099e9f18c
--- /dev/null
+++ b/network/razor-agents/makefile_quoted_vars.diff
@@ -0,0 +1,13 @@
+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;
+ }