add USE_GCC=2.95 and unbreak this port.

This commit is contained in:
Yen-Ming Lee 2004-02-06 03:52:42 +00:00
parent 94a778271c
commit fe87ff98ee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=100103

View file

@ -20,19 +20,14 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
USE_REINPLACE= yes
GNU_CONFIGURE= yes
USE_GCC= 2.95
MAN1= freescope.1
PLIST_FILES= bin/freescope
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500113
BROKEN= "Does not compile (bad C++ code)"
.endif
pre-patch:
@${REINPLACE_CMD} -e 's|CFLAGS=.*$$|CFLAGS="\$$CFLAGS"|g ; \
s|CXXFLAGS=.*$$|CXXFLAGS="\$$CXXFLAGS"|g ; \
s|bindir="/usr/local/bin"||g' ${WRKSRC}/configure
.include <bsd.port.post.mk>
.include <bsd.port.mk>