summaryrefslogtreecommitdiff
path: root/mail/nmh
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-01-17 23:50:09 +0000
committeragc <agc@pkgsrc.org>1998-01-17 23:50:09 +0000
commit07e966c8c45e789636f1fcaaf785a22909eb82b1 (patch)
tree97e83e2c35cb78507f0b3a8043d5dbb95e581993 /mail/nmh
parent38837df34c3cc05fe199d08853f47497a7ccc4cd (diff)
downloadpkgsrc-07e966c8c45e789636f1fcaaf785a22909eb82b1.tar.gz
Set default MTA for nmh to be smtp. If there's an environment variable
called NMH_MTA (or a variable of the same name in /etc/mk.conf), use the value of that variable when configuring nmh. Does not solve the MTA wars, but makes things more configurable.
Diffstat (limited to 'mail/nmh')
-rw-r--r--mail/nmh/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/mail/nmh/Makefile b/mail/nmh/Makefile
index 01f07c5af82..330793b9fd1 100644
--- a/mail/nmh/Makefile
+++ b/mail/nmh/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 July 1997
# Whom: Scott Blachowicz <Scott.Blachowicz@seaslug.org>
#
-# $NetBSD: Makefile,v 1.6 1998/01/13 13:22:11 agc Exp $
+# $NetBSD: Makefile,v 1.7 1998/01/17 23:50:09 agc Exp $
# FreeBSD Id: Makefile,v 1.2 1997/08/04 06:51:28 markm Exp
#
@@ -13,10 +13,15 @@ MASTER_SITES= ftp://ftp.math.gatech.edu/pub/nmh/
MAINTAINER= Scott.Blachowicz@seaslug.org
+.if defined(NMH_MTA)
+MTA_TYPE= --with-mts=${NMH_MTA}
+.endif
+MTA_TYPE?= --with-mts=smtp
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --libexecdir=$(PREFIX)/libexec/nmh \
--sysconfdir=$(PREFIX)/etc/nmh --enable-nmh-pop \
- --with-mts=smtp
+ ${MTA_TYPE}
MAN1= ali.1 anno.1 burst.1 comp.1 dist.1 flist.1 folder.1 forw.1 inc.1 \
mark.1 mh-chart.1 mhl.1 mhmail.1 mhn.1 mhparam.1 mhpath.1 msgchk.1 msh.1 \