summaryrefslogtreecommitdiff
path: root/mail/up-imapproxy/patches/patch-af
blob: 39ef6815d16b8b3977321cb1843538dfce8402d3 (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
$NetBSD: patch-af,v 1.3 2011/12/17 10:16:08 sbd Exp $

--- Makefile.in.orig	2007-01-30 15:23:46.000000000 +0000
+++ Makefile.in
@@ -69,7 +69,7 @@ $(XYD_BIN): $(XYD_OBJ)
 	$(CC) -o $@ $(XYD_OBJ) $(LDFLAGS) $(XYD_LIB)
 
 $(TAT_BIN): $(TAT_OBJ)
-	$(CC) -o $@ $(TAT_OBJ) $(TAT_LIB)
+	$(CC) -o $@ $(TAT_OBJ) $(LDFLAGS) $(TAT_LIB)
 
 clean:
 	rm -f ./src/core  $(XYD_OBJ) $(TAT_OBJ) $(XYD_BIN) $(TAT_BIN)
@@ -79,8 +79,8 @@ distclean: clean
 
 install: $(XYD_BIN) $(TAT_BIN)
 	mkdir -p $(EBIN)
-	$(INSTALL) -o bin -g bin -m 0755 $(XYD_BIN) $(EBIN)
-	$(INSTALL) -o bin -g bin -m 0755 $(TAT_BIN) $(EBIN)
+	$(BSD_INSTALL_PROGRAM) $(XYD_BIN) $(EBIN)
+	$(BSD_INSTALL_PROGRAM) $(TAT_BIN) $(EBIN)
 
 install-init:
 	$(INSTALL) -o root -g sys -m 0755 ./scripts/imapproxy.init $(ETC)/init.d/imapproxy