aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2003-04-06 23:31:07 +0800
committerpetef <petef@FreeBSD.org>2003-04-06 23:31:07 +0800
commitea2cdcabfe615d3ad155c4cd1b5d45511d7b6df6 (patch)
treea39ef97d3f08e3a82ca01f7b8dbd79990c6c281b /mail
parent4dfc144c62db0ac33415ac3f70356b42a5285cb7 (diff)
downloadfreebsd-ports-gnome-ea2cdcabfe615d3ad155c4cd1b5d45511d7b6df6.tar.gz
freebsd-ports-gnome-ea2cdcabfe615d3ad155c4cd1b5d45511d7b6df6.tar.zst
freebsd-ports-gnome-ea2cdcabfe615d3ad155c4cd1b5d45511d7b6df6.zip
Specify /usr/sbin/sendmail (mailwrapper) as the default sendmail binary
to use by default now, unless the user specifies NO_MAILWRAPPER. Submitted by: Thomas Seck <tmseck@netcologne.de>
Diffstat (limited to 'mail')
-rw-r--r--mail/maildrop/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/mail/maildrop/Makefile b/mail/maildrop/Makefile
index 96b0efa97277..feb2e076798d 100644
--- a/mail/maildrop/Makefile
+++ b/mail/maildrop/Makefile
@@ -16,6 +16,8 @@
# If undefined, these values default to "root" and "mail"
# respectively, which should be suitable for most
# systems.
+# NO_MAILWRAPPER If defined, let configure guess which sendmail binary
+# to use
PORTNAME= maildrop
PORTVERSION= 1.5.2
@@ -46,6 +48,10 @@ CONFIGURE_ARGS+= --enable-syslog=1 \
--enable-maildrop-uid="${MAILDROP_SUID}" \
--enable-maildrop-gid="${MAILDROP_SGID}"
+.if !defined(NO_MAILWRAPPER)
+CONFIGURE_ARGS+= --enable-sendmail=/usr/sbin/sendmail
+.endif
+
.if defined(WITH_MAILDIRQUOTA)
CONFIGURE_ARGS+= --enable-maildirquota
PLIST_SUB+= MAILDIRQUOTA=""