aboutsummaryrefslogtreecommitdiffstats
path: root/lang/libjit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/libjit/Makefile')
-rw-r--r--lang/libjit/Makefile6
1 files changed, 6 insertions, 0 deletions
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||' \