summaryrefslogtreecommitdiff
path: root/mail/mutt-devel/Makefile
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2008-02-22 01:16:58 +0000
committergdt <gdt@pkgsrc.org>2008-02-22 01:16:58 +0000
commit6275ff6cbe5723c2e4b36e0174e2142fd76a729e (patch)
tree2f24c283d60d6bf01059c7a4cfa8ec01c6c8be54 /mail/mutt-devel/Makefile
parent7f5048b99ae32eece2f54a86b5870fef4f865f6c (diff)
downloadpkgsrc-6275ff6cbe5723c2e4b36e0174e2142fd76a729e.tar.gz
Match change to mail/mutt: force sendmail to /usr/sbin/sendmail on
*BSD to avoid configure picking up pkgsrc postfix sendmail path and thus bypassing mailwrapper.
Diffstat (limited to 'mail/mutt-devel/Makefile')
-rw-r--r--mail/mutt-devel/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile
index 2469b4ab79b..bab2a55d31a 100644
--- a/mail/mutt-devel/Makefile
+++ b/mail/mutt-devel/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.65 2008/01/18 05:08:27 tnn Exp $
+# $NetBSD: Makefile,v 1.66 2008/02/22 01:16:58 gdt Exp $
DISTNAME= mutt-1.5.17
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= mail
MUTT_SITES= ftp://ftp.mutt.org/mutt/ \
ftp://ftp.stealth.net/pub/mirrors/ftp.mutt.org/pub/mutt/ \
@@ -29,6 +29,13 @@ CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} \
--enable-imap
MAKE_ENV+= CHGRP=${CHGRP:Q} CHMOD=${CHMOD: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