Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2003 23:50:13 +0100
From:      Oliver Braun <obraun@FreeBSD.org>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/48601: [new port] mail/mailsync: Mailsync is a way of keeping a collection of mailboxes synchronized
Message-ID:  <20030226225013.GA26028@informatik.unibw-muenchen.de>
In-Reply-To: <200302262220.h1QMK99T023125@freefall.freebsd.org>
References:  <200302262220.h1QMK99T023125@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Oliver Braun <obraun@FreeBSD.org> [2003-02-26 14:20 -0800]:
>  I am willing to commit your port with the following changes. The new

Ups, forgot the patch for gcc2.95 on -current.

>  shar is available at
>  http://people.freebsd.org/~obraun/pending_ports/mailsync.shar

Regards,
         Olli

--- mailsync.shar.old	Wed Feb 26 23:00:21 2003
+++ mailsync.shar	Wed Feb 26 23:44:53 2003
@@ -20,9 +20,9 @@
 mkdir -p mailsync/files > /dev/null 2>&1
 echo x - mailsync/files/patch-Makefile
 sed 's/^X//' >mailsync/files/patch-Makefile << 'END-of-mailsync/files/patch-Makefile'
-X--- Makefile.orig	Thu Oct 24 17:03:07 2002
-X+++ Makefile	Mon Feb  3 23:05:47 2003
-X@@ -1,13 +1,13 @@
+X--- Makefile.orig	Thu Oct 24 16:03:07 2002
+X+++ Makefile	Wed Feb 26 23:39:48 2003
+X@@ -1,32 +1,32 @@
 X # compiling with g++-3 worked for me with the commented ## lines - tpo
 X 
 X # path to c-client headers
@@ -38,7 +38,12 @@
 X # linkging statically
 X #CCLIENTLIB = ../imap-2001a/c-client/c-client.a
 X 
-X@@ -19,7 +19,7 @@
+X # compiler
+X-CC = g++
+X+CC = ${CXX}
+X ##CC = g++-3.0
+X 
+X # flags for your compiler
 X CFLAGS = -g  -O2 -Wall -I$(C)
 X 
 X # required libraries
@@ -47,6 +52,14 @@
 X # if your system requires pam to access crypt() you have to link pam in
 X #LDFLAGS = -lm -lssl -lpam
 X 
+X default: mailsync
+X 
+X mailsync: mailsync.o $(CCLIENTLIB)
+X-	$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
+X+	${CC} $(CFLAGS) -o $@ $^ $(LDFLAGS)
+X 
+X clean:
+X 	rm -f mailsync mailsync.o core
 END-of-mailsync/files/patch-Makefile
 echo x - mailsync/files/patch-mailsync.c
 sed 's/^X//' >mailsync/files/patch-mailsync.c << 'END-of-mailsync/files/patch-mailsync.c'
@@ -89,6 +102,7 @@
 X
 XUSE_GMAKE=	yes
 XUSE_REINPLACE=	yes
+XUSE_GCC=	2.95
 X
 XALL_TARGET=	default
 X

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030226225013.GA26028>