diff options
author | rh <rh> | 2002-12-09 00:19:46 +0000 |
---|---|---|
committer | rh <rh> | 2002-12-09 00:19:46 +0000 |
commit | cd1a6224bc92c9e17410fa5cc10955f106270bda (patch) | |
tree | 8acbe5bc1cd21a96f5e80fcddfc659c6eb6ca982 /mail/mailsync/patches | |
parent | a0d53cae81ea00eb8869b255b80a4cdac6ee1c2f (diff) | |
download | pkgsrc-cd1a6224bc92c9e17410fa5cc10955f106270bda.tar.gz |
Make this compile on Darwin.
Diffstat (limited to 'mail/mailsync/patches')
-rw-r--r-- | mail/mailsync/patches/patch-aa | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/mail/mailsync/patches/patch-aa b/mail/mailsync/patches/patch-aa index 3c4861670dc..25232f9e733 100644 --- a/mail/mailsync/patches/patch-aa +++ b/mail/mailsync/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.1.1.1 2002/05/18 11:28:24 zuntum Exp $ +$NetBSD: patch-aa,v 1.2 2002/12/09 00:19:47 rh Exp $ ---- Makefile.orig Mon Apr 15 20:26:35 2002 +--- Makefile.orig Tue Apr 16 04:26:35 2002 +++ Makefile -@@ -1,12 +1,12 @@ +@@ -1,7 +1,7 @@ # compiling with g++-3 worked for me with the commented ## lines - tpo # path to c-client headers @@ -11,13 +11,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2002/05/18 11:28:24 zuntum Exp $ ##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 @@ +@@ -15,16 +15,16 @@ CC = g++ ##CC = g++-3.0 # flags for your compiler @@ -26,7 +20,14 @@ $NetBSD: patch-aa,v 1.1.1.1 2002/05/18 11:28:24 zuntum Exp $ # required libraries -LDFLAGS = -lm -lssl -+LDFLAGS = -Wl,-R${PREFIX}/lib -lm -lssl -lcrypto ++LDFLAGS+= -lm -lssl -lcrypto -lc-client # if your system requires pam to access crypt() you have to link pam in #LDFLAGS = -lm -lssl -lpam + default: mailsync + +-mailsync: mailsync.o $(CCLIENTLIB) ++mailsync: mailsync.o + $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) + + clean: |