aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-08-21 14:11:56 +0800
committerkrion <krion@FreeBSD.org>2004-08-21 14:11:56 +0800
commit9b20f296c4cf0f31910497f26613b74e8787a8e0 (patch)
treed8b59d3ac5eb10090bc804e9f2a9a6feaaf6260a /lang
parent270eeba8b8de89f497a79f95aeb769677913d0c4 (diff)
downloadfreebsd-ports-gnome-9b20f296c4cf0f31910497f26613b74e8787a8e0.tar.gz
freebsd-ports-gnome-9b20f296c4cf0f31910497f26613b74e8787a8e0.tar.zst
freebsd-ports-gnome-9b20f296c4cf0f31910497f26613b74e8787a8e0.zip
Fix build with gcc-3.4
PR: ports/70752 Submitted by: maintainer
Diffstat (limited to 'lang')
-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||' \