summaryrefslogtreecommitdiff
path: root/mail/p5-razor-agents/patches/patch-aa
blob: 622e16f93dd40fa4e6a00f2e55e855e2d81370ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$NetBSD: patch-aa,v 1.4 2003/12/01 00:24:15 heinz Exp $

--- Makefile.PL.orig	Tue Aug  5 20:02:43 2003
+++ Makefile.PL
@@ -138,7 +138,7 @@ sub MY::install {
 
 # begin razor-agents
 install_razor_agents ::
-	$(INST_SCRIPT)/razor-client
+	$(INSTALLSCRIPT)/razor-client
 # end razor-agents
 
 };
@@ -149,6 +149,17 @@ install_razor_agents ::
   $inherited =~ s/(\$\(INSTALL\w*MAN1DIR\))/$1$man5/gm;
 
   return $inherited . $install_razor_agents;
+}
+
+
+sub MY::libscan {
+  my ($self, $path) = @_;
+
+  if ($path =~ m/\.orig$/i) {
+    return q{};
+  } else {
+    return $path;
+  }
 }
 
 }