summaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd21/patches/patch-aa
blob: 8bcddc6f0b0cc3df029b4b396d0749a41d9afc6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-aa,v 1.1.1.1 2002/10/27 16:08:53 chris Exp $ 

--- imap/lmtpengine.h~	Fri Aug  2 17:54:49 2002
+++ imap/lmtpengine.h	Thu Aug 29 21:14:03 2002
@@ -44,7 +44,12 @@
 #define LMTPENGINE_H
 
 /* configuration parameters */
+#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))