blob: a08e2c7df15d40e359d8b3cb542bf90c96c59440 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
$NetBSD: patch-aa,v 1.3 2004/06/29 13:42:19 cjep Exp $
--- Makefile.orig 2004-06-28 18:57:40.000000000 +0100
+++ Makefile
@@ -6,14 +6,14 @@
# See the file INSTALL if you need help.
#
-PREFIX = /usr/local
+PREFIX?= /usr/local
BINDIR = $(PREFIX)/bin
MANDIR = $(PREFIX)/share/man
-SYSCONFDIR = /etc
+SYSCONFDIR?=/etc
MAILRC = $(SYSCONFDIR)/nail.rc
-MAILSPOOL = /var/mail
-SENDMAIL = /usr/lib/sendmail
+MAILSPOOL?= /var/mail
+SENDMAIL?= /usr/sbin/sendmail
DESTDIR =
@@ -41,7 +41,8 @@ SHELL = /bin/sh
###########################################################################
FEATURES = -DMAILRC='"$(MAILRC)"' -DMAILSPOOL='"$(MAILSPOOL)"' \
- -DSENDMAIL='"$(SENDMAIL)"' $(IPv6)
+ -DSENDMAIL='"$(SENDMAIL)"' \
+ -DMIMEPATH='"$(SYSCONFDIR)/mime.types"' $(IPv6)
OBJ = aux.o base64.o cmd1.o cmd2.o cmd3.o cmdtab.o collect.o \
dotlock.o edit.o fio.o getname.o head.o lex.o list.o \
|