summaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd/patches/patch-ac
blob: cc73b4928dd2fbdb97d99cfd0912901ffedccdd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ac,v 1.2 2001/09/18 21:56:30 skrll Exp $

--- imap/lmtpd.c.orig	Mon May 21 19:21:47 2001
+++ imap/lmtpd.c
@@ -411,7 +411,12 @@
     }
 }
 
+#ifdef __NetBSD__
+#include <paths.h>
+#define DEFAULT_SENDMAIL (_PATH_SENDMAIL)
+#else
 #define DEFAULT_SENDMAIL ("/usr/lib/sendmail")
+#endif
 #define DEFAULT_POSTMASTER ("postmaster")
 
 #define SENDMAIL (config_getstring("sendmail", DEFAULT_SENDMAIL))