summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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