aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-08-21 06:11:56 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-08-21 06:11:56 +0000
commit590de45aacf55f2a3e503f09333c9429e4170999 (patch)
tree19803969dec119d0eef53c5bdf567b3d8543ed0e /lang
parent2578633dc2544d3398a74f15a01080aea1ee2391 (diff)
downloadports-590de45aacf55f2a3e503f09333c9429e4170999.tar.gz
ports-590de45aacf55f2a3e503f09333c9429e4170999.zip
Fix build with gcc-3.4
PR: ports/70752 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=116873
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||' \