- Fix build with gcc-4.2

PR:
Submitted by:
Reviewed by:
Approved by:	Shaun Amott <shaun@freebsd.org> (maintainer),
		sat (mentor, implicit)
This commit is contained in:
Beech Rintoul 2007-10-07 03:11:31 +00:00
parent d32f14e08a
commit fcd1e35e78
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=201026

View file

@ -26,13 +26,13 @@ MAKE_ARGS= CC=${CC} C_FLAGS="${CFLAGS}" DESTDIR=${PREFIX}
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
BROKEN= Does not compile with GCC 4.2
.endif
post-extract:
@${RM} ${WRKSRC}/../share/docs/LICENSE~
post-patch:
@${REINPLACE_CMD} -e 's|(char) user_rc.default_session.firewall_login_type|user_rc.default_session.firewall_login_type|' \
${WRKSRC}/custom_io.h
post-install:
.if !defined(NOPORTDOCS)
.for file in AUTHORS BUGS COPYRIGHT THANKS TODO