Update to the latest luajit - tested on amd64 using luakit. luasocket was also
used as a test. OK jturner@
This commit is contained in:
parent
41e5bd8702
commit
cd1c8e4b1b
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.11 2014/02/10 17:31:46 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.12 2014/03/12 22:51:21 abieber Exp $
|
||||
|
||||
ONLY_FOR_ARCHS = powerpc i386 amd64
|
||||
# arm needs EABI/aapcs
|
||||
@ -8,8 +8,7 @@ SHARED_ONLY = Yes
|
||||
SHARED_LIBS += luajit-${MODLUA_VERSION} 0.0 # 2.0.0
|
||||
|
||||
COMMENT = just-in-time compiler for Lua
|
||||
V = 2.0.2
|
||||
REVISION = 0
|
||||
V = 2.0.3
|
||||
DISTNAME = LuaJIT-${V}
|
||||
PKGNAME = ${DISTNAME:L}
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (LuaJIT-2.0.2.tar.gz) = wFICl0pYkOd3sYGQisI3YltJmuzgJmVNfMM2B+P0bDg=
|
||||
SIZE (LuaJIT-2.0.2.tar.gz) = 843031
|
||||
SHA256 (LuaJIT-2.0.3.tar.gz) = Vb5sstEB7TisyjLFsfma40WQSzZbZCIDGUxYXSe+vXk=
|
||||
SIZE (LuaJIT-2.0.3.tar.gz) = 844927
|
||||
|
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-Makefile,v 1.2 2012/11/16 15:06:57 abieber Exp $
|
||||
--- Makefile.orig Thu Nov 8 03:10:00 2012
|
||||
+++ Makefile Fri Nov 16 07:44:59 2012
|
||||
@@ -109,18 +109,13 @@ install: $(INSTALL_DEP)
|
||||
$OpenBSD: patch-Makefile,v 1.3 2014/03/12 22:51:21 abieber Exp $
|
||||
--- Makefile.orig Wed Mar 12 06:10:00 2014
|
||||
+++ Makefile Wed Mar 12 13:28:09 2014
|
||||
@@ -111,18 +111,13 @@ install: $(INSTALL_DEP)
|
||||
cd src && test -f $(FILE_A) && $(INSTALL_F) $(FILE_A) $(INSTALL_STATIC) || :
|
||||
$(RM) $(INSTALL_TSYM) $(INSTALL_DYN) $(INSTALL_SHORT1) $(INSTALL_SHORT2)
|
||||
cd src && test -f $(FILE_SO) && \
|
||||
@ -9,7 +9,7 @@ $OpenBSD: patch-Makefile,v 1.2 2012/11/16 15:06:57 abieber Exp $
|
||||
- $(LDCONFIG) $(INSTALL_LIB) && \
|
||||
- $(SYMLINK) $(INSTALL_SONAME) $(INSTALL_SHORT1) && \
|
||||
- $(SYMLINK) $(INSTALL_SONAME) $(INSTALL_SHORT2) || :
|
||||
+ $(INSTALL_X) $(FILE_SO) $(INSTALL_DYN) || :
|
||||
+ $(INSTALL_X) $(FILE_SO) $(INSTALL_DYN) || :
|
||||
cd etc && $(INSTALL_F) $(FILE_MAN) $(INSTALL_MAN)
|
||||
cd etc && $(SED_PC) $(FILE_PC) > $(FILE_PC).tmp && \
|
||||
$(INSTALL_F) $(FILE_PC).tmp $(INSTALL_PC) && \
|
||||
|
@ -1,18 +1,18 @@
|
||||
$OpenBSD: patch-src_Makefile,v 1.3 2014/02/10 17:31:46 sthen Exp $
|
||||
--- src/Makefile.orig Mon Jun 3 20:00:00 2013
|
||||
+++ src/Makefile Mon Feb 10 17:12:11 2014
|
||||
@@ -304,6 +304,10 @@ ifeq (iOS,$(TARGET_SYS))
|
||||
TARGET_DYNXLDOPTS=
|
||||
TARGET_XSHLDFLAGS+= -install_name $(TARGET_DYLIBPATH) -compatibility_version $(MAJVER).$(MINVER) -current_version $(MAJVER).$(MINVER).$(RELVER)
|
||||
else
|
||||
$OpenBSD: patch-src_Makefile,v 1.4 2014/03/12 22:51:21 abieber Exp $
|
||||
--- src/Makefile.orig Wed Mar 12 06:10:00 2014
|
||||
+++ src/Makefile Wed Mar 12 13:31:24 2014
|
||||
@@ -327,6 +327,10 @@ else
|
||||
ifeq (GNU/kFreeBSD,$(TARGET_SYS))
|
||||
TARGET_XLIBS+= -ldl
|
||||
endif
|
||||
+ ifeq (OpenBSD,$(TARGET_SYS))
|
||||
+ TARGET_XSHLDFLAGS= -shared -fPIC
|
||||
+ TARGET_STRIP= @:
|
||||
+ endif
|
||||
ifneq (,$(findstring stack-protector,$(shell $(TARGET_CC) -dumpspecs)))
|
||||
TARGET_XCFLAGS+= -fno-stack-protector
|
||||
endif
|
||||
@@ -550,10 +554,10 @@ endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
@@ -559,10 +563,10 @@ endif
|
||||
endif
|
||||
endif
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-src_lj_arch_h,v 1.2 2013/10/05 15:51:09 abieber Exp $
|
||||
--- src/lj_arch.h.orig Mon Jun 3 13:00:00 2013
|
||||
+++ src/lj_arch.h Sat Oct 5 09:33:08 2013
|
||||
@@ -317,9 +317,6 @@
|
||||
$OpenBSD: patch-src_lj_arch_h,v 1.3 2014/03/12 22:51:21 abieber Exp $
|
||||
--- src/lj_arch.h.orig Wed Mar 12 06:10:00 2014
|
||||
+++ src/lj_arch.h Wed Mar 12 13:34:08 2014
|
||||
@@ -324,9 +324,6 @@
|
||||
#if defined(_SOFT_FLOAT) || defined(_SOFT_DOUBLE)
|
||||
#error "No support for PowerPC CPUs without double-precision FPU"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user