aboutsummaryrefslogtreecommitdiff
path: root/ftp/kftpgrabber/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/kftpgrabber/Makefile')
-rw-r--r--ftp/kftpgrabber/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/ftp/kftpgrabber/Makefile b/ftp/kftpgrabber/Makefile
index 4d4533c33d08..ea8e8cfbdcba 100644
--- a/ftp/kftpgrabber/Makefile
+++ b/ftp/kftpgrabber/Makefile
@@ -22,7 +22,13 @@ USE_OPENSSL= yes
GNU_CONFIGURE= yes
USE_REINPLACE= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>