1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Unbreak on systems where gcc 3.4 is the base compiler (patches to sources

are welcome)
- Respect CFLAGS

Approved by:	portmgr (marcus)
This commit is contained in:
Alex Dupre 2004-10-04 21:50:57 +00:00
parent e1ec16c37d
commit 5e65bafa38
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118540

View File

@ -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" \