diff options
author | pav <pav@FreeBSD.org> | 2004-07-14 23:46:55 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-07-14 23:46:55 +0800 |
commit | b29aa8c65d964d801232b6bfed61464b0c27c0f8 (patch) | |
tree | 1bbfb12f1f0565429c0f52b78cb836bb98bfcd27 /mail | |
parent | c14b7d98fdf6ec7bf19c30eceec4e835f49e89b5 (diff) | |
download | freebsd-ports-gnome-b29aa8c65d964d801232b6bfed61464b0c27c0f8.tar.gz freebsd-ports-gnome-b29aa8c65d964d801232b6bfed61464b0c27c0f8.tar.zst freebsd-ports-gnome-b29aa8c65d964d801232b6bfed61464b0c27c0f8.zip |
- Unset USE_GCC=2.95 and add patch to fix build with gcc 3.x
- Respect CFLAGS
- Portlint
PR: ports/69022
Submitted by: Andrey Slusar <vasallia@ukr.net>
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mailsync/Makefile | 1 | ||||
-rw-r--r-- | mail/mailsync/files/patch-Makefile | 7 | ||||
-rw-r--r-- | mail/mailsync/files/patch-mailsync.c | 12 | ||||
-rw-r--r-- | mail/mailsync/pkg-plist | 8 |
4 files changed, 18 insertions, 10 deletions
diff --git a/mail/mailsync/Makefile b/mail/mailsync/Makefile index d1e45fddc842..975058be548b 100644 --- a/mail/mailsync/Makefile +++ b/mail/mailsync/Makefile @@ -22,7 +22,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME} USE_GMAKE= yes USE_REINPLACE= yes -USE_GCC= 2.95 ALL_TARGET= default diff --git a/mail/mailsync/files/patch-Makefile b/mail/mailsync/files/patch-Makefile index 1a463d11bb57..9c43172f9eca 100644 --- a/mail/mailsync/files/patch-Makefile +++ b/mail/mailsync/files/patch-Makefile @@ -1,5 +1,5 @@ ---- Makefile.orig Thu Oct 24 16:03:07 2002 -+++ Makefile Wed Feb 26 23:39:48 2003 +--- Makefile.orig Thu Oct 24 17:03:07 2002 ++++ Makefile Wed Jul 14 04:02:48 2004 @@ -1,32 +1,32 @@ # compiling with g++-3 worked for me with the commented ## lines - tpo @@ -22,7 +22,8 @@ ##CC = g++-3.0 # flags for your compiler - CFLAGS = -g -O2 -Wall -I$(C) +-CFLAGS = -g -O2 -Wall -I$(C) ++CFLAGS += -Wall -fno-operator-names -I$(C) # required libraries -LDFLAGS = -lm -lssl -lgssapi_krb5 diff --git a/mail/mailsync/files/patch-mailsync.c b/mail/mailsync/files/patch-mailsync.c index 125e236ccef4..1fa875fbd6f2 100644 --- a/mail/mailsync/files/patch-mailsync.c +++ b/mail/mailsync/files/patch-mailsync.c @@ -1,6 +1,14 @@ --- mailsync.c.orig Thu Nov 7 12:05:46 2002 -+++ mailsync.c Mon Feb 3 22:59:09 2003 -@@ -30,8 +30,8 @@ ++++ mailsync.c Wed Jul 14 03:52:22 2004 +@@ -20,6 +20,7 @@ + extern int errno; // Just in case + #include <sys/stat.h> // Stat() + ++#include <cassert> + #include <string> + #include <set> + #include <map> +@@ -30,8 +31,8 @@ using std::vector; using std::make_pair; diff --git a/mail/mailsync/pkg-plist b/mail/mailsync/pkg-plist index bd0a041c1690..71a70687dfc5 100644 --- a/mail/mailsync/pkg-plist +++ b/mail/mailsync/pkg-plist @@ -1,5 +1,5 @@ bin/mailsync -%%PORTDOCS%%share/doc/mailsync/README -share/examples/mailsync/mailsync -@dirrm share/examples/mailsync -%%PORTDOCS%%@dirrm share/doc/mailsync +%%PORTDOCS%%%%DOCSDIR%%/README +%%EXAMPLESDIR%%/mailsync +@dirrm %%EXAMPLESDIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%% |