mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-22 20:41:26 +00:00
Unbreak with gcc 3.4 by removing -fvolatile from CFLAGS
This commit is contained in:
parent
4fa67c2f3b
commit
5a88187978
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116919
@ -24,10 +24,6 @@ MAKEFILE= makefile
|
|||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OSVERSION} >= 502126
|
|
||||||
BROKEN= "Does not compile with gcc 3.4.2"
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ( ${OSVERSION} < 440000 )
|
.if ( ${OSVERSION} < 440000 )
|
||||||
BUILD_DEPENDS= gxargs:${PORTSBASE}/misc/findutils
|
BUILD_DEPENDS= gxargs:${PORTSBASE}/misc/findutils
|
||||||
.endif
|
.endif
|
||||||
@ -50,11 +46,12 @@ CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
|
|||||||
CONFIGURE_ARGS+=--with-db --localstatedir=/var/spool \
|
CONFIGURE_ARGS+=--with-db --localstatedir=/var/spool \
|
||||||
--enable-milter-cf="${PREFIX}/etc/milter-sender.cf"
|
--enable-milter-cf="${PREFIX}/etc/milter-sender.cf"
|
||||||
|
|
||||||
.if ( ${OSVERSION} < 440000 )
|
|
||||||
post-patch:
|
post-patch:
|
||||||
|
.if ( ${OSVERSION} < 440000 )
|
||||||
${REINPLACE_CMD} 's/xargs -J{}/gxargs -i{}/' ${WRKSRC}/../lib/configure
|
${REINPLACE_CMD} 's/xargs -J{}/gxargs -i{}/' ${WRKSRC}/../lib/configure
|
||||||
${REINPLACE_CMD} 's+/usr/sbin/daemon -f ++' ${WRKSRC}/milter-sender.sh.in
|
${REINPLACE_CMD} 's+/usr/sbin/daemon -f ++' ${WRKSRC}/milter-sender.sh.in
|
||||||
.endif
|
.endif
|
||||||
|
${REINPLACE_CMD} "s,-fvolatile,," ${WRKSRC}/configure
|
||||||
|
|
||||||
pre-configure:
|
pre-configure:
|
||||||
@cd ${WRKSRC}/../lib && \
|
@cd ${WRKSRC}/../lib && \
|
||||||
|
Loading…
Reference in New Issue
Block a user