summaryrefslogtreecommitdiff
path: root/mail/netbiff/patches/patch-Makefile
blob: 4f91677d3291aafb2aa44bbb5baf289f2cb79a3a (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-Makefile,v 1.1 2014/08/21 14:02:49 jperkin Exp $

Support LDFLAGS.

--- Makefile.orig	2005-02-07 08:51:08.000000000 +0000
+++ Makefile
@@ -112,7 +112,7 @@ defaults.h gui.h home.h proto.h xlib.h
 
 netbiffd-file: \
 load netbiffd-file.o nbproto.o util.o
-	./load netbiffd-file nbproto.o util.o
+	./load netbiffd-file nbproto.o util.o ${LDFLAGS}
 
 netbiffd-file.o: \
 compile netbiffd-file.c nbproto.h
@@ -120,7 +120,7 @@ compile netbiffd-file.c nbproto.h
 
 netbiffd-imap: \
 load netbiffd-imap.o nbproto.o imap.o util.o ssl.lib
-	./load netbiffd-imap nbproto.o imap.o util.o `cat ssl.lib`
+	./load netbiffd-imap nbproto.o imap.o util.o `cat ssl.lib` ${LDFLAGS}
 
 netbiffd-imap.o: \
 compile netbiffd-imap.c imap.h nbproto.h