summaryrefslogtreecommitdiff
path: root/mail/fastforward/patches/patch-aa
blob: 8a85cbb95d63b85f96539f4062254f4fb5914ead (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
$NetBSD: patch-aa,v 1.3 2017/09/01 03:58:46 schmonz Exp $

DESTDIR support, and don't build catpages.

--- Makefile.orig	1998-05-19 16:25:42.000000000 +0000
+++ Makefile
@@ -31,6 +31,14 @@ auto-str.o: \
 compile auto-str.c substdio.h readwrite.h exit.h
 	./compile auto-str.c
 
+auto_destdir.c: \
+auto-str conf-destdir
+	./auto-str auto_qmail `head -1 conf-destdir` > auto_destdir.c
+
+auto_destdir.o: \
+compile auto_destdir.c
+	./compile auto_destdir.c
+
 auto_qmail.c: \
 auto-str conf-qmail
 	./auto-str auto_qmail `head -1 conf-qmail` > auto_qmail.c
@@ -227,9 +235,9 @@ compile hier.c auto_qmail.h
 	./compile hier.c
 
 install: \
-load install.o hier.o auto_qmail.o strerr.a substdio.a error.a open.a \
+load install.o hier.o auto_destdir.o strerr.a substdio.a error.a open.a \
 str.a
-	./load install hier.o auto_qmail.o strerr.a substdio.a \
+	./load install hier.o auto_destdir.o strerr.a substdio.a \
 	error.a open.a str.a 
 
 install.o: \
@@ -238,9 +246,9 @@ exit.h
 	./compile install.c
 
 instcheck: \
-load instcheck.o hier.o auto_qmail.o strerr.a substdio.a error.a \
+load instcheck.o hier.o auto_destdir.o strerr.a substdio.a error.a \
 str.a
-	./load instcheck hier.o auto_qmail.o strerr.a substdio.a \
+	./load instcheck hier.o auto_destdir.o strerr.a substdio.a \
 	error.a str.a 
 
 instcheck.o: \
@@ -248,7 +256,7 @@ compile instcheck.c strerr.h error.h rea
 	./compile instcheck.c
 
 it: \
-prog man
+prog
 
 load: \
 make-load warn-auto.sh systype