aboutsummaryrefslogtreecommitdiff
path: root/ftp/IglooFTP/Makefile
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2007-10-07 03:11:31 +0000
committerBeech Rintoul <beech@FreeBSD.org>2007-10-07 03:11:31 +0000
commitfcd1e35e782b322343aebd5b4cede0408619926b (patch)
treeaff9c58955ebeefe128b501be72f3aa0271ff7cd /ftp/IglooFTP/Makefile
parentd32f14e08a3d8884efec2a8ae62615220b4e2cdd (diff)
downloadports-fcd1e35e782b322343aebd5b4cede0408619926b.tar.gz
ports-fcd1e35e782b322343aebd5b4cede0408619926b.zip
- Fix build with gcc-4.2
PR: Submitted by: Reviewed by: Approved by: Shaun Amott <shaun@freebsd.org> (maintainer), sat (mentor, implicit)
Notes
Notes: svn path=/head/; revision=201026
Diffstat (limited to 'ftp/IglooFTP/Makefile')
-rw-r--r--ftp/IglooFTP/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/ftp/IglooFTP/Makefile b/ftp/IglooFTP/Makefile
index e39cfa71f373..68d7b39f4ee3 100644
--- a/ftp/IglooFTP/Makefile
+++ b/ftp/IglooFTP/Makefile
@@ -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