summaryrefslogtreecommitdiff
path: root/mail/mailsync/patches
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mailsync/patches')
-rw-r--r--mail/mailsync/patches/patch-aa32
1 files changed, 32 insertions, 0 deletions
diff --git a/mail/mailsync/patches/patch-aa b/mail/mailsync/patches/patch-aa
new file mode 100644
index 00000000000..3c4861670dc
--- /dev/null
+++ b/mail/mailsync/patches/patch-aa
@@ -0,0 +1,32 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/05/18 11:28:24 zuntum Exp $
+
+--- Makefile.orig Mon Apr 15 20:26:35 2002
++++ Makefile
+@@ -1,12 +1,12 @@
+ # compiling with g++-3 worked for me with the commented ## lines - tpo
+
+ # path to c-client headers
+-C = /usr/include/c-client
++C = ${PREFIX}/include/c-client
+ ##C = /usr/include/c-client -I/usr/include/g++-v3/
+
+ # path to c-client library
+ # linking dynamically
+-CCLIENTLIB = /usr/lib/libc-client.so
++CCLIENTLIB = ${PREFIX}/lib/libc-client.so
+ # linkging statically
+ #CCLIENTLIB = ../imap-2001a/c-client/c-client.a
+
+@@ -15,10 +15,10 @@
+ ##CC = g++-3.0
+
+ # flags for your compiler
+-CFLAGS = -g -O2 -Wall -I$(C)
++CFLAGS += -Wall -I$(C)
+
+ # required libraries
+-LDFLAGS = -lm -lssl
++LDFLAGS = -Wl,-R${PREFIX}/lib -lm -lssl -lcrypto
+ # if your system requires pam to access crypt() you have to link pam in
+ #LDFLAGS = -lm -lssl -lpam
+