pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/mutt On *BSD, force sendmail to be /usr/sbin/send...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7d0559d481a0
branches:  trunk
changeset: 538946:7d0559d481a0
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Thu Feb 21 17:55:56 2008 +0000

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

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

diffs (27 lines):

diff -r 423ccd3e11f2 -r 7d0559d481a0 mail/mutt/Makefile
--- a/mail/mutt/Makefile        Thu Feb 21 17:35:37 2008 +0000
+++ b/mail/mutt/Makefile        Thu Feb 21 17:55:56 2008 +0000
@@ -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 @@
                        --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



Home | Main Index | Thread Index | Old Index