summaryrefslogtreecommitdiff
path: root/mail/nmh
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>1999-03-06 23:18:51 +0000
committerkim <kim@pkgsrc.org>1999-03-06 23:18:51 +0000
commit9af50c16512728a88086a78ba2dc67f275992a8a (patch)
treea5086844c5f017a5a207dc1871fb684bfdbb50a3 /mail/nmh
parent6242ef0a300311056a16701e65f94f962b9b9a26 (diff)
downloadpkgsrc-9af50c16512728a88086a78ba2dc67f275992a8a.tar.gz
Make editor and pager selectable with NMH_EDITOR and NMH_PAGER
respectively. For old MH behaviour use "NMH_EDITOR=prompter".
Diffstat (limited to 'mail/nmh')
-rw-r--r--mail/nmh/Makefile18
1 files changed, 17 insertions, 1 deletions
diff --git a/mail/nmh/Makefile b/mail/nmh/Makefile
index 03956922b22..1e980a887b8 100644
--- a/mail/nmh/Makefile
+++ b/mail/nmh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 1999/03/04 09:17:11 kim Exp $
+# $NetBSD: Makefile,v 1.24 1999/03/06 23:18:51 kim Exp $
# FreeBSD Id: Makefile,v 1.2 1997/08/04 06:51:28 markm Exp
#
@@ -9,6 +9,14 @@ MASTER_SITES= ftp://ftp.math.gatech.edu/pub/nmh/
MAINTAINER= kim@tac.nyc.ny.us
HOMEPAGE= http://www.math.gatech.edu/nmh/
+# We choose DOT_LOCKING in our patches because ".lock" files are
+# the most common locking mechanism supported by mail software.
+# It also works well over NFS.
+
+# Locks supported by `mail.local' are ".lock" and flock(2).
+
+.include "../../mk/bsd.prefs.mk"
+
# Mail Transport Agent - either "smtp" or "sendmail"
NMH_MTA?= smtp
@@ -19,6 +27,14 @@ CONFIGURE_ARGS+= \
--enable-nmh-pop \
--with-mts=${NMH_MTA}
+.ifdef NMH_EDITOR
+CONFIGURE_ARGS+= --with-editor=${NMH_EDITOR}
+.endif
+
+.ifdef NMH_PAGER
+CONFIGURE_ARGS+= --with-pager=${NMH_PAGER}
+.endif
+
.if exists(/usr/lib/libkrb.a) && (defined(MAKE_EBONES) || defined(MAKE_KERBEROS4))
CONFIGURE_ARGS+= --with-krb4=yes
.endif