summaryrefslogtreecommitdiff
path: root/lang/libjit
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2005-02-18 09:27:02 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2005-02-18 09:27:02 +0000
commit19d73f8b10d845008860393e9e19b4e7c14f3db4 (patch)
tree8cc91e63dafe8ca737f60f74282f0a160de7a1af /lang/libjit
parentUpdate to version 0.2.2 (diff)
Fix build on amd64.
PR: ports/77638 Submitted by: Johan van Selst <johans@stack.nl>
Notes
Notes: svn path=/head/; revision=129136
Diffstat (limited to 'lang/libjit')
-rw-r--r--lang/libjit/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/lang/libjit/Makefile b/lang/libjit/Makefile
index da1e3640f2de..e6dcc4c942db 100644
--- a/lang/libjit/Makefile
+++ b/lang/libjit/Makefile
@@ -24,10 +24,6 @@ MAN3= libjit.3
.include <bsd.port.pre.mk>
-.if ${ARCH} == "amd64"
-BROKEN= "Does not compile on amd64"
-.endif
-
post-patch:
.if ${OSVERSION} >= 502128
@${REINPLACE_CMD} -e 's|#undef HAVE_TGMATH_H||' \
@@ -35,7 +31,7 @@ post-patch:
.endif
post-configure:
-.if ${OSVERSION} >= 502123
+.if ${OSVERSION} >= 502123 && ${ARCH} != "amd64"
@${REINPLACE_CMD} -e 's|$$pic_flag -DPIC||' \
${WRKSRC}/libtool
.endif