pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/mutt-devel Match change to mail/mutt: force sendm...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5fe72e77df95
branches:  trunk
changeset: 538963:5fe72e77df95
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Fri Feb 22 01:16:58 2008 +0000

description:
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:

 mail/mutt-devel/Makefile |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r c1ed25a5e1a2 -r 5fe72e77df95 mail/mutt-devel/Makefile
--- a/mail/mutt-devel/Makefile  Fri Feb 22 00:36:12 2008 +0000
+++ b/mail/mutt-devel/Makefile  Fri Feb 22 01:16:58 2008 +0000
@@ -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 @@
                        --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



Home | Main Index | Thread Index | Old Index