aboutsummaryrefslogtreecommitdiffstats
path: root/net/portfwd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/portfwd/Makefile')
-rw-r--r--net/portfwd/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/portfwd/Makefile b/net/portfwd/Makefile
index f095cfd5a252..1b6104cf3d55 100644
--- a/net/portfwd/Makefile
+++ b/net/portfwd/Makefile
@@ -26,9 +26,15 @@ MAN8= portfwd.8
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile on FreeBSD >= 5.x"
+USE_GCC= 3.3
.endif
+post-patch:
+ @${REINPLACE_CMD} -e "s|-Wall -ggdb -O3|${CFLAGS}|g" \
+ ${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} -e "s|-Wall -g -O3|${CFLAGS}|g" \
+ ${WRKSRC}/tools/Makefile.in
+
.if defined(NOPORTDOCS)
post-configure:
@${REINPLACE_CMD} -e "s|\(^install-data-am:\) install-docDATA|\1|g" \