aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-08-09 08:27:31 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-08-09 08:27:31 +0000
commit93184cdab1c5642a513d9930ff348502a7b6dc64 (patch)
treebd35096bcfe63c4668ea2b80ffda6d6c11894cc3 /lang
parent9c2f4f169f24f75ba1d3332545a60a23fc027122 (diff)
downloadports-93184cdab1c5642a513d9930ff348502a7b6dc64.tar.gz
ports-93184cdab1c5642a513d9930ff348502a7b6dc64.zip
Notes
Diffstat (limited to 'lang')
-rw-r--r--lang/libjit/Makefile15
-rw-r--r--lang/libjit/distinfo4
-rw-r--r--lang/libjit/files/patch-ac18
-rw-r--r--lang/libjit/pkg-plist2
4 files changed, 25 insertions, 14 deletions
diff --git a/lang/libjit/Makefile b/lang/libjit/Makefile
index e42c2f7ad25c..091bb624543e 100644
--- a/lang/libjit/Makefile
+++ b/lang/libjit/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libjit
-PORTVERSION= 0.0.2
+PORTVERSION= 0.0.4
CATEGORIES= lang
MASTER_SITES= http://www.southern-storm.com.au/download/
@@ -14,10 +14,13 @@ MAINTAINER= ahze@ahze.net
COMMENT= Libjit implements Just-In-Time compilation functionality
USE_GMAKE= yes
-GNU_CONFIGURE= yes
+USE_INC_LIBTOOL_VER=13
+USE_REINPLACE= yes
+
+INSTALLS_SHLIB= yes
+
INFO= libjit
MAN3= libjit.3
-INSTALLS_SHLIB= yes
.include <bsd.port.pre.mk>
@@ -25,4 +28,10 @@ INSTALLS_SHLIB= yes
BROKEN= "Does not compile on amd64"
.endif
+post-configure:
+.if ${OSVERSION} >= 502123
+ @${REINPLACE_CMD} -e 's|$$pic_flag -DPIC||' \
+ ${WRKSRC}/libtool
+.endif
+
.include <bsd.port.post.mk>
diff --git a/lang/libjit/distinfo b/lang/libjit/distinfo
index 7a6a28586d18..d692018831fe 100644
--- a/lang/libjit/distinfo
+++ b/lang/libjit/distinfo
@@ -1,2 +1,2 @@
-MD5 (libjit-0.0.2.tar.gz) = f29878f7fc30a56c425af1163235f2de
-SIZE (libjit-0.0.2.tar.gz) = 523897
+MD5 (libjit-0.0.4.tar.gz) = eda01981d60a996434d3d4e36c84d6c2
+SIZE (libjit-0.0.4.tar.gz) = 580278
diff --git a/lang/libjit/files/patch-ac b/lang/libjit/files/patch-ac
index 032207cb8851..a81cd1cec3f9 100644
--- a/lang/libjit/files/patch-ac
+++ b/lang/libjit/files/patch-ac
@@ -1,12 +1,12 @@
---- jit/jit-interp.cpp.orig Tue Apr 27 00:23:50 2004
-+++ jit/jit-interp.cpp Tue Apr 27 00:24:18 2004
-@@ -30,6 +30,9 @@
- #include "jit-rules.h"
- #include "jit-memory.h"
- #include <config.h>
-+#ifdef __FreeBSD__
-+ #include <stdlib.h>
-+#endif
+--- jit/jit-interp.c.orig Sun Aug 8 14:47:39 2004
++++ jit/jit-interp.c Sun Aug 8 14:48:08 2004
+@@ -33,6 +33,9 @@
#if HAVE_ALLOCA_H
#include <alloca.h>
#endif
++#ifdef __FreeBSD__
++ #include <stdlib.h>
++#endif
+ #ifdef JIT_WIN32_PLATFORM
+ #include <malloc.h>
+ #ifndef alloca
diff --git a/lang/libjit/pkg-plist b/lang/libjit/pkg-plist
index 7722e53a22c7..846b1428725e 100644
--- a/lang/libjit/pkg-plist
+++ b/lang/libjit/pkg-plist
@@ -12,6 +12,8 @@ include/jit/jit-init.h
include/jit/jit-insn.h
include/jit/jit-intrinsic.h
include/jit/jit-meta.h
+include/jit/jit-objmodel-private.h
+include/jit/jit-objmodel.h
include/jit/jit-opcode.h
include/jit/jit-plus.h
include/jit/jit-type.h