aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mailsync
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2007-09-30 14:00:28 +0800
committeredwin <edwin@FreeBSD.org>2007-09-30 14:00:28 +0800
commitc976a54e3165058674737062421c1791290e2990 (patch)
tree727dd3fd2d8b1c0d140fbed196a62bfcd5b8fd51 /mail/mailsync
parent3954a8637ddd73d0f127407ae33c386187fa5c34 (diff)
downloadfreebsd-ports-gnome-c976a54e3165058674737062421c1791290e2990.tar.gz
freebsd-ports-gnome-c976a54e3165058674737062421c1791290e2990.tar.zst
freebsd-ports-gnome-c976a54e3165058674737062421c1791290e2990.zip
Chase mail/cclient shared library version bump.
Several patches were needed due to the removal of include/c-client/linkage.c in favour of include/c-client/linkage.h. PR: ports/114833 Submitted by: "Pedro J. Lobo" <pjlobo@sec.upm.es>
Diffstat (limited to 'mail/mailsync')
-rw-r--r--mail/mailsync/Makefile3
-rw-r--r--mail/mailsync/files/patch-configure10
-rw-r--r--mail/mailsync/files/patch-src_mailsync_main.cc11
3 files changed, 19 insertions, 5 deletions
diff --git a/mail/mailsync/Makefile b/mail/mailsync/Makefile
index 912a114335ca..1aa6634ef55e 100644
--- a/mail/mailsync/Makefile
+++ b/mail/mailsync/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mailsync
PORTVERSION= 5.2.1
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,7 +16,7 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= ports@FreeBSD.org
COMMENT= Mailsync is a way of keeping a collection of mailboxes synchronized
-LIB_DEPENDS= c-client4.8:${PORTSDIR}/mail/cclient
+LIB_DEPENDS= c-client4.9:${PORTSDIR}/mail/cclient
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GMAKE= yes
diff --git a/mail/mailsync/files/patch-configure b/mail/mailsync/files/patch-configure
index 6c56797d5f69..8501377ed8d5 100644
--- a/mail/mailsync/files/patch-configure
+++ b/mail/mailsync/files/patch-configure
@@ -1,5 +1,5 @@
---- configure.orig Wed Jun 30 10:04:12 2004
-+++ configure Tue Aug 9 16:25:24 2005
+--- configure.orig Wed Jun 30 18:04:12 2004
++++ configure Sun Sep 30 15:39:42 2007
@@ -5012,7 +5012,7 @@
@@ -59,15 +59,17 @@
fi
-@@ -5477,7 +5475,7 @@
+@@ -5477,8 +5475,8 @@
echo "$as_me:$LINENO: checking for c-client.h" >&5
echo $ECHO_N "checking for c-client.h... $ECHO_C" >&6
- for p in `eval "echo {${CCLIENTLOCATIONS}}{,/c-client,/lib/c-client,/include/c-client,/include,/include/imap}"` ; do
+- if test -r "${p}/c-client.h" -a -r "${p}/linkage.h" -a -r "${p}/linkage.c" ; then
+ p=${CCLIENTLOCATIONS}/include/c-client
- if test -r "${p}/c-client.h" -a -r "${p}/linkage.h" -a -r "${p}/linkage.c" ; then
++ if test -r "${p}/c-client.h" -a -r "${p}/linkage.h" ; then
CCLIENT_INCLUDES="-I${p}"
CCLIENT_LINKAGE_H="${p}/linkage.h"
+ CCLIENT_LINKAGE_C="${p}/linkage.c"
@@ -5486,7 +5484,6 @@
echo "${ECHO_T}found in ${p}" >&6
break
diff --git a/mail/mailsync/files/patch-src_mailsync_main.cc b/mail/mailsync/files/patch-src_mailsync_main.cc
new file mode 100644
index 000000000000..f5e334e8e1c1
--- /dev/null
+++ b/mail/mailsync/files/patch-src_mailsync_main.cc
@@ -0,0 +1,11 @@
+--- src/mailsync_main.cc.orig Sun Sep 30 15:39:52 2007
++++ src/mailsync_main.cc Sun Sep 30 15:39:56 2007
+@@ -68,7 +68,7 @@
+ int success;
+ bool& debug = options.debug;
+
+-#include "linkage.c"
++#include "linkage.h"
+
+ //
+ // Parse arguments, read config file, choose operation mode