pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

LuaJIT21: Changes for macOS Catalina



Module Name:	pkgsrc-wip
Committed By:	Jonathan Buschmann <jonthn+pkgsrc%pinacea.com@localhost>
Pushed By:	jonthn
Date:		Wed Jan 1 22:17:18 2020 +0800
Changeset:	1d6846f685b37002807fa506392d1ad6dd96d086

Modified Files:
	LuaJIT21/Makefile
	LuaJIT21/buildlink3.mk

Log Message:
LuaJIT21: Changes for macOS Catalina

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1d6846f685b37002807fa506392d1ad6dd96d086

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 LuaJIT21/Makefile      | 6 ++++++
 LuaJIT21/buildlink3.mk | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diffs:
diff --git a/LuaJIT21/Makefile b/LuaJIT21/Makefile
index c148721c95..0dbdabf925 100644
--- a/LuaJIT21/Makefile
+++ b/LuaJIT21/Makefile
@@ -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
diff --git a/LuaJIT21/buildlink3.mk b/LuaJIT21/buildlink3.mk
index 9839c1dfce..7c5d235b60 100644
--- a/LuaJIT21/buildlink3.mk
+++ b/LuaJIT21/buildlink3.mk
@@ -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
 


Home | Main Index | Thread Index | Old Index