mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- 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>
This commit is contained in:
parent
ce43bbe677
commit
d12909dc3e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=113658
4 changed files with 18 additions and 10 deletions
|
@ -22,7 +22,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||||
|
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
USE_REINPLACE= yes
|
USE_REINPLACE= yes
|
||||||
USE_GCC= 2.95
|
|
||||||
|
|
||||||
ALL_TARGET= default
|
ALL_TARGET= default
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
--- Makefile.orig Thu Oct 24 16:03:07 2002
|
--- Makefile.orig Thu Oct 24 17:03:07 2002
|
||||||
+++ Makefile Wed Feb 26 23:39:48 2003
|
+++ Makefile Wed Jul 14 04:02:48 2004
|
||||||
@@ -1,32 +1,32 @@
|
@@ -1,32 +1,32 @@
|
||||||
# compiling with g++-3 worked for me with the commented ## lines - tpo
|
# compiling with g++-3 worked for me with the commented ## lines - tpo
|
||||||
|
|
||||||
|
@ -22,7 +22,8 @@
|
||||||
##CC = g++-3.0
|
##CC = g++-3.0
|
||||||
|
|
||||||
# flags for your compiler
|
# 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
|
# required libraries
|
||||||
-LDFLAGS = -lm -lssl -lgssapi_krb5
|
-LDFLAGS = -lm -lssl -lgssapi_krb5
|
||||||
|
|
|
@ -1,6 +1,14 @@
|
||||||
--- mailsync.c.orig Thu Nov 7 12:05:46 2002
|
--- mailsync.c.orig Thu Nov 7 12:05:46 2002
|
||||||
+++ mailsync.c Mon Feb 3 22:59:09 2003
|
+++ mailsync.c Wed Jul 14 03:52:22 2004
|
||||||
@@ -30,8 +30,8 @@
|
@@ -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::vector;
|
||||||
using std::make_pair;
|
using std::make_pair;
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
bin/mailsync
|
bin/mailsync
|
||||||
%%PORTDOCS%%share/doc/mailsync/README
|
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||||
share/examples/mailsync/mailsync
|
%%EXAMPLESDIR%%/mailsync
|
||||||
@dirrm share/examples/mailsync
|
@dirrm %%EXAMPLESDIR%%
|
||||||
%%PORTDOCS%%@dirrm share/doc/mailsync
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||||
|
|
Loading…
Add table
Reference in a new issue