summaryrefslogtreecommitdiff
path: root/mail/mailsync/files/patch-Makefile
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2003-02-27 19:54:58 +0000
committerOliver Braun <obraun@FreeBSD.org>2003-02-27 19:54:58 +0000
commitc19d348710a5e393f809e62da1b0bad862c1c257 (patch)
tree35506338ae35f25e801ff6e05db0d717c5df79fd /mail/mailsync/files/patch-Makefile
parentFix install bug: install resources along with classfiles. (diff)
Add mailsync 4.4.4, mailsync is a way of keeping a collection of mailboxes
synchronized. PR: ports/48601 Submitted by: Maxim Tulyuk <mt@primats.org.ua>
Diffstat (limited to 'mail/mailsync/files/patch-Makefile')
-rw-r--r--mail/mailsync/files/patch-Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/mail/mailsync/files/patch-Makefile b/mail/mailsync/files/patch-Makefile
new file mode 100644
index 000000000000..1a463d11bb57
--- /dev/null
+++ b/mail/mailsync/files/patch-Makefile
@@ -0,0 +1,40 @@
+--- Makefile.orig Thu Oct 24 16:03:07 2002
++++ Makefile Wed Feb 26 23:39:48 2003
+@@ -1,32 +1,32 @@
+ # 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 = ../../libs/imap-2002.RC5/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-client4.so
+ # linkging statically
+ #CCLIENTLIB = ../imap-2001a/c-client/c-client.a
+
+ # compiler
+-CC = g++
++CC = ${CXX}
+ ##CC = g++-3.0
+
+ # flags for your compiler
+ CFLAGS = -g -O2 -Wall -I$(C)
+
+ # required libraries
+-LDFLAGS = -lm -lssl -lgssapi_krb5
++LDFLAGS = -lm -lssl
+ # if your system requires pam to access crypt() you have to link pam in
+ #LDFLAGS = -lm -lssl -lpam
+
+ default: mailsync
+
+ mailsync: mailsync.o $(CCLIENTLIB)
+- $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
++ ${CC} $(CFLAGS) -o $@ $^ $(LDFLAGS)
+
+ clean:
+ rm -f mailsync mailsync.o core