summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2004-08-21 12:02:40 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2004-08-21 12:02:40 +0000
commit5a88187978888397196bcb412e01ae2ed76c45fa (patch)
tree1a8e3dc3317625aa88d385f0dc01346d15688546
parent- Update to 0.7.1 (diff)
Unbreak with gcc 3.4 by removing -fvolatile from CFLAGS
Notes
Notes: svn path=/head/; revision=116919
-rw-r--r--mail/milter-sender/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/mail/milter-sender/Makefile b/mail/milter-sender/Makefile
index 91cbb8e31e23..5a4b9844f7b2 100644
--- a/mail/milter-sender/Makefile
+++ b/mail/milter-sender/Makefile
@@ -24,10 +24,6 @@ MAKEFILE= makefile
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile with gcc 3.4.2"
-.endif
-
.if ( ${OSVERSION} < 440000 )
BUILD_DEPENDS= gxargs:${PORTSBASE}/misc/findutils
.endif
@@ -50,11 +46,12 @@ CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS+=--with-db --localstatedir=/var/spool \
--enable-milter-cf="${PREFIX}/etc/milter-sender.cf"
-.if ( ${OSVERSION} < 440000 )
post-patch:
+.if ( ${OSVERSION} < 440000 )
${REINPLACE_CMD} 's/xargs -J{}/gxargs -i{}/' ${WRKSRC}/../lib/configure
${REINPLACE_CMD} 's+/usr/sbin/daemon -f ++' ${WRKSRC}/milter-sender.sh.in
.endif
+ ${REINPLACE_CMD} "s,-fvolatile,," ${WRKSRC}/configure
pre-configure:
@cd ${WRKSRC}/../lib && \