LuaJIT21: Changes for macOS Catalina

This commit is contained in:
Jonathan Buschmann 2020-01-01 22:17:18 +08:00
parent 46870c3f77
commit 1d6846f685
2 changed files with 7 additions and 1 deletions

View File

@ -23,6 +23,12 @@ PTHREAD_AUTO_VARS= yes
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin" && ${OS_VERSION:R} >= 19
CFLAGS.Darwin+= -fno-stack-check
MAKE_ARGS+= XCFLAGS=-DLUAJIT_ENABLE_GC64
.endif
# Upstream doesn't support building shared libs on SunOS
# http://www.freelists.org/post/luajit/LuaJIT-on-solaris-64
PLIST_VARS+= shared

View File

@ -5,7 +5,7 @@ BUILDLINK_TREE+= LuaJIT21
.if !defined(LUAJIT21_BUILDLINK3_MK)
LUAJIT21_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.LuaJIT21+= LuaJIT21>=2.1.0
BUILDLINK_API_DEPENDS.LuaJIT21+= LuaJIT21>=2.1.0beta3
BUILDLINK_PKGSRCDIR.LuaJIT21?= ../../wip/LuaJIT21
.endif # LUAJIT21_BUILDLINK3_MK