summaryrefslogtreecommitdiff
path: root/mail/mutt/Makefile
diff options
context:
space:
mode:
authorgdt <gdt>2008-02-21 17:55:56 +0000
committergdt <gdt>2008-02-21 17:55:56 +0000
commitc7018b5fca57a343e6e743c4acf1aabd6ce68ab1 (patch)
tree35501cec45878d93a91d57044f40509434da15d4 /mail/mutt/Makefile
parentf30b752d9fe91c9c53623455a63267b849c58fd1 (diff)
downloadpkgsrc-c7018b5fca57a343e6e743c4acf1aabd6ce68ab1.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/Makefile')
-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