summaryrefslogtreecommitdiff
path: root/mail/mutt
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2008-02-21 17:55:56 +0000
committergdt <gdt@pkgsrc.org>2008-02-21 17:55:56 +0000
commit8add505420013c1ed24efb042e702f348303a148 (patch)
tree35501cec45878d93a91d57044f40509434da15d4 /mail/mutt
parent5b9debaab8777dcdbd89ec828d14c807929f7aa1 (diff)
downloadpkgsrc-8add505420013c1ed24efb042e702f348303a148.tar.gz
On *BSD, force sendmail to be /usr/sbin/sendmail, so that the
mailwrapper sendmail is invoked, rather than finding pkgsrc postfix's /usr/pkg/sbin/sendmail. Systems not known to use mailwrapper remain as they were, although they probably have residual similar problems. (Perhaps mailwrapper support needs to be part of pkgsrc with a mk/mailwrapper.mk to force inclusion and also set a sendmail variable.) Discussed with tron@
Diffstat (limited to 'mail/mutt')
-rw-r--r--mail/mutt/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile
index a6e75bfe553..a64443b7358 100644
--- a/mail/mutt/Makefile
+++ b/mail/mutt/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.153 2008/01/18 05:08:27 tnn Exp $
+# $NetBSD: Makefile,v 1.154 2008/02/21 17:55:56 gdt Exp $
DISTNAME= mutt-1.4.2.3
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= mail
MASTER_SITES= ftp://ftp.mutt.org/mutt/ \
ftp://gd.tuwien.ac.at/infosys/mail/mutt/ \
@@ -28,6 +28,13 @@ CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} \
--enable-imap
MAKE_ENV+= CHGRP=${CHGRP:Q}
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD"
+# Force sendmail to /usr/sbin to avoid postfix's
+# ${LOCALBASE}/sbin/sendmail. Should be enabled on all platforms which
+# support mailwrapper.
+CONFIGURE_ENV+= SENDMAIL=/usr/sbin/sendmail
+.endif
+
.if ${OPSYS} == "SunOS"
CONFIGURE_ARGS+= --without-wc-funcs
.endif