diff options
-rw-r--r-- | mail/mailsync/Makefile | 8 | ||||
-rw-r--r-- | mail/mailsync/distinfo | 4 | ||||
-rw-r--r-- | mail/mailsync/patches/patch-aa | 23 |
3 files changed, 21 insertions, 14 deletions
diff --git a/mail/mailsync/Makefile b/mail/mailsync/Makefile index d500cb14967..d8df00ee078 100644 --- a/mail/mailsync/Makefile +++ b/mail/mailsync/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2002/05/30 14:21:23 zuntum Exp $ +# $NetBSD: Makefile,v 1.4 2002/12/09 00:19:46 rh Exp $ # DISTNAME= mailsync_4.3-2 @@ -17,6 +17,12 @@ ALL_TARGET= default WRKSRC= ${WRKDIR}/mailsync-4.3 +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "Darwin" +CFLAGS+= -fno-operator-names +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mailsync ${PREFIX}/bin ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mailsync diff --git a/mail/mailsync/distinfo b/mail/mailsync/distinfo index bfdcc4c6009..4a11b95d927 100644 --- a/mail/mailsync/distinfo +++ b/mail/mailsync/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.2 2002/07/02 12:58:06 wiz Exp $ +$NetBSD: distinfo,v 1.3 2002/12/09 00:19:46 rh Exp $ SHA1 (mailsync_4.3-2.tar.gz) = 239f58aeb98718de347c1b53682fb6add156b7e3 Size (mailsync_4.3-2.tar.gz) = 20257 bytes -SHA1 (patch-aa) = c408109d2b299703d35a6694c988884c53fbdc3e +SHA1 (patch-aa) = 2e18288d7549211ac0e77ee091fc24074d84d38f 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: |