aboutsummaryrefslogtreecommitdiff
path: root/net/portfwd
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2004-10-04 21:50:57 +0000
committerAlex Dupre <ale@FreeBSD.org>2004-10-04 21:50:57 +0000
commit5e65bafa388bd19800a004991a1af85458a4192d (patch)
treeb289d71874834a32894b4ecbe5791938064a73d9 /net/portfwd
parente1ec16c37ddec5cbe577a8b738639292d68db4b3 (diff)
downloadports-5e65bafa388bd19800a004991a1af85458a4192d.tar.gz
ports-5e65bafa388bd19800a004991a1af85458a4192d.zip
Notes
Diffstat (limited to 'net/portfwd')
-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" \