From 590de45aacf55f2a3e503f09333c9429e4170999 Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Sat, 21 Aug 2004 06:11:56 +0000 Subject: [PATCH] Fix build with gcc-3.4 PR: ports/70752 Submitted by: maintainer --- lang/libjit/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lang/libjit/Makefile b/lang/libjit/Makefile index 091bb624543e..6a0ff8b3dd53 100644 --- a/lang/libjit/Makefile +++ b/lang/libjit/Makefile @@ -28,6 +28,12 @@ MAN3= libjit.3 BROKEN= "Does not compile on amd64" .endif +post-patch: +.if ${OSVERSION} >= 502128 + @${REINPLACE_CMD} -e 's|#undef HAVE_TGMATH_H||' \ + ${WRKSRC}/config.h.in +.endif + post-configure: .if ${OSVERSION} >= 502123 @${REINPLACE_CMD} -e 's|$$pic_flag -DPIC||' \