aboutsummaryrefslogtreecommitdiff
path: root/lang/libjit
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2009-01-05 20:36:33 +0000
committerPav Lucistnik <pav@FreeBSD.org>2009-01-05 20:36:33 +0000
commit41d8c3385c21ae51629c8997035eae8a9423ff6c (patch)
tree246d960cb714ce0095c452017819f6b1c64a7dfb /lang/libjit
parent5e3b0872db18497aacc353b3ef94ad8dac11183f (diff)
downloadports-41d8c3385c21ae51629c8997035eae8a9423ff6c.tar.gz
ports-41d8c3385c21ae51629c8997035eae8a9423ff6c.zip
Notes
Diffstat (limited to 'lang/libjit')
-rw-r--r--lang/libjit/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/lang/libjit/Makefile b/lang/libjit/Makefile
index 0415f8290f32..6c4068b5ffc7 100644
--- a/lang/libjit/Makefile
+++ b/lang/libjit/Makefile
@@ -36,13 +36,11 @@ BROKEN= Fails to compile: internal gcc error
post-patch:
# fix for amd64, Upstream forgot a header file
${CP} ${FILESDIR}/extra-jit-rules-interp.h ${WRKSRC}/jit/jit-rules-interp.h
-.if ${OSVERSION} >= 502128
@${REINPLACE_CMD} -e 's|#undef HAVE_TGMATH_H||' \
${WRKSRC}/config.h.in
-.endif
post-configure:
-.if ${OSVERSION} >= 502123 && ${ARCH} != "amd64"
+.if ${ARCH} != "amd64"
@${REINPLACE_CMD} -e 's|$$pic_flag -DPIC||' \
${WRKSRC}/libtool
.endif