aboutsummaryrefslogtreecommitdiffstats
path: root/net/portfwd
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2004-10-05 05:50:57 +0800
committerale <ale@FreeBSD.org>2004-10-05 05:50:57 +0800
commitcb9d76f417be06feac13719658220eea86b9c677 (patch)
treea2efd74ff757b587eaf93d62efdcbd72dd55f555 /net/portfwd
parent47dd29cffccb0d9a29207f79b3a36114b9c48ab9 (diff)
downloadfreebsd-ports-gnome-cb9d76f417be06feac13719658220eea86b9c677.tar.gz
freebsd-ports-gnome-cb9d76f417be06feac13719658220eea86b9c677.tar.zst
freebsd-ports-gnome-cb9d76f417be06feac13719658220eea86b9c677.zip
- Unbreak on systems where gcc 3.4 is the base compiler (patches to sources
are welcome) - Respect CFLAGS Approved by: portmgr (marcus)
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" \