From 9af50c16512728a88086a78ba2dc67f275992a8a Mon Sep 17 00:00:00 2001 From: kim Date: Sat, 6 Mar 1999 23:18:51 +0000 Subject: Make editor and pager selectable with NMH_EDITOR and NMH_PAGER respectively. For old MH behaviour use "NMH_EDITOR=prompter". --- mail/nmh/Makefile | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'mail/nmh') 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 -- cgit v1.2.3