pkgsrc/mail/mailsync/patches/patch-aa
zuntum 239e327cd2 Initial import of mailsync-4.3.2
Mailsync is a way of synchronizing a collection of mailboxes. The algorithm is
a 3-way diff. Two mailboxes are simultaneously compared to a record of the
state of both mailboxes at last sync. New messages and message deletions are
propagated between the two mailboxes. If you're familiar with CVS, it's the
same principle, except there's no opportunity for conflicts.

XXX: could be buildlinked for imap-uw; will take a look later

Fixes pkg/16757 by MarkoSchuetz@web.de
2002-05-18 11:28:24 +00:00

32 lines
877 B
Text

$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