summaryrefslogtreecommitdiff
path: root/net/nocol/patches/patch-aj
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2002-05-14 08:38:23 +0000
committerabs <abs@pkgsrc.org>2002-05-14 08:38:23 +0000
commita0480c3ad460eefe351f4cfb44a854bd93044c47 (patch)
tree7dc17f44025635482130213f6826b8d8db230290 /net/nocol/patches/patch-aj
parent73ac093dba0bed3d4614ce33bbac448af8542537 (diff)
downloadpkgsrc-a0480c3ad460eefe351f4cfb44a854bd93044c47.tar.gz
Fix datadir location in perl lib, and allow subjects in mail sent from NetBSD
hosts. Bump to nocol-4.3.1nb2
Diffstat (limited to 'net/nocol/patches/patch-aj')
-rw-r--r--net/nocol/patches/patch-aj13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/nocol/patches/patch-aj b/net/nocol/patches/patch-aj
new file mode 100644
index 00000000000..081aa47a35e
--- /dev/null
+++ b/net/nocol/patches/patch-aj
@@ -0,0 +1,13 @@
+$NetBSD: patch-aj,v 1.1 2002/05/14 08:38:26 abs Exp $
+
+--- utility/notifier.pl.orig Tue May 7 09:57:22 2002
++++ utility/notifier.pl
+@@ -256,7 +256,7 @@
+ sub EmailNotify { # Send email notification of fault
+ local ($id, $address, $message) = @_;
+
+- if ($email_program =~ /ucb/) {
++ if ($^O eq 'netbsd' || $email_program =~ /ucb/) {
+ open(XPIPE, "|$email_program -s \"NOCOL notification: $sitename{i} $siteaddr{$i}\" $address") ||
+ die "Cannot open $email_program.\n";
+ }