aboutsummaryrefslogtreecommitdiff
path: root/lang/libjit
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2005-06-10 04:36:43 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2005-06-10 04:36:43 +0000
commit5140032e039da78941a05aa5aff2bf7f36c3bf5d (patch)
treedba133625030fa10d816e23474f4fb49f2d9367b /lang/libjit
parent1f32fc6d0228605058f134940f39e46d8b92f604 (diff)
downloadports-5140032e039da78941a05aa5aff2bf7f36c3bf5d.tar.gz
ports-5140032e039da78941a05aa5aff2bf7f36c3bf5d.zip
Notes
Diffstat (limited to 'lang/libjit')
-rw-r--r--lang/libjit/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/lang/libjit/Makefile b/lang/libjit/Makefile
index ca90c36b721d..96f16c03ecd6 100644
--- a/lang/libjit/Makefile
+++ b/lang/libjit/Makefile
@@ -14,9 +14,8 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Libjit implements Just-In-Time compilation functionality
USE_GMAKE= yes
-USE_LIBTOOL_VER=15
+USE_INC_LIBTOOL_VER=13
USE_REINPLACE= yes
-USE_CONFIGURE= yes
INSTALLS_SHLIB= yes
@@ -30,11 +29,15 @@ BROKEN= "Segfault during build"
.endif
post-patch:
- @${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
- ${WRKSRC}/configure
.if ${OSVERSION} >= 502128
@${REINPLACE_CMD} -e 's|#undef HAVE_TGMATH_H||' \
${WRKSRC}/config.h.in
.endif
+post-configure:
+.if ${OSVERSION} >= 502123 && ${ARCH} != "amd64"
+ @${REINPLACE_CMD} -e 's|$$pic_flag -DPIC||' \
+ ${WRKSRC}/libtool
+.endif
+
.include <bsd.port.post.mk>