aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/IglooFTP
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2007-10-07 11:11:31 +0800
committerbeech <beech@FreeBSD.org>2007-10-07 11:11:31 +0800
commitac35980cc8a3134bd7c6568bf30c2425efac5008 (patch)
tree026f1ccbb8dad5b6a4fb4d6641f5550bb2ba57a4 /ftp/IglooFTP
parent0017e1b40984236a786162750d156ed72e1862cd (diff)
downloadfreebsd-ports-gnome-ac35980cc8a3134bd7c6568bf30c2425efac5008.tar.gz
freebsd-ports-gnome-ac35980cc8a3134bd7c6568bf30c2425efac5008.tar.zst
freebsd-ports-gnome-ac35980cc8a3134bd7c6568bf30c2425efac5008.zip
- Fix build with gcc-4.2
PR: Submitted by: Reviewed by: Approved by: Shaun Amott <shaun@freebsd.org> (maintainer), sat (mentor, implicit)
Diffstat (limited to 'ftp/IglooFTP')
-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