diff options
author | ale <ale@FreeBSD.org> | 2004-10-05 05:50:57 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2004-10-05 05:50:57 +0800 |
commit | cb9d76f417be06feac13719658220eea86b9c677 (patch) | |
tree | a2efd74ff757b587eaf93d62efdcbd72dd55f555 /net | |
parent | 47dd29cffccb0d9a29207f79b3a36114b9c48ab9 (diff) | |
download | freebsd-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')
-rw-r--r-- | net/portfwd/Makefile | 8 |
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" \ |