Fix to ports/lang/ici build problem on 5-CURRENT

Patch to fix build failures of lang/ici port on 5-CURRENT.
	Note this is UNTESTED (my 5-CURRENT machine disappeared
	last week) but the same fix was required on other gcc 3.x
	using platforms (Mac OS X) and I am assuming it will repair
	the brokeness.

Honestly, the patch didn't but a quick search/replace of "float_t"
to "floats_t" did. Informed maintainer.

PR:		ports/52444
Submitted by:	Andy Newman <atrn@zeta.org.au>
This commit is contained in:
Edwin Groothuis
2003-08-23 12:50:48 +00:00
parent 9acc62a9af
commit f74af8c62f

View File

@@ -17,6 +17,7 @@ MAKEFILE= Makefile.bsd
MAN1= ici3.1
MANCOMPRESSED= yes
USE_REINPLACE= yes
USE_BZIP2= yes
ICIHDRS= alloc.h array.h buf.h catch.h cfunc.h conf-bsd.h exec.h file.h \
@@ -30,9 +31,8 @@ ICIDOCS= doc/ici-a4.ps doc/ici-ltr.ps doc/ici.txt doc/ici.pdf
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500113
BROKEN= "Does not compile"
.endif
post-patch:
${REINPLACE_CMD} -e 's/float_t/floats_t/g' ${WRKSRC}/*
do-install:
cd ${WRKSRC} && ${MAKE} -f ${MAKEFILE} libici3.a