Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/LuaJIT2 LuaJIT2: Add platform.mk
details: https://anonhg.NetBSD.org/pkgsrc/rev/c53eee3acf67
branches: trunk
changeset: 434855:c53eee3acf67
user: nia <nia%pkgsrc.org@localhost>
date: Wed Jun 24 11:16:00 2020 +0000
description:
LuaJIT2: Add platform.mk
diffstat:
lang/LuaJIT2/platform.mk | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diffs (22 lines):
diff -r f15098a3e49e -r c53eee3acf67 lang/LuaJIT2/platform.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/LuaJIT2/platform.mk Wed Jun 24 11:16:00 2020 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: platform.mk,v 1.1 2020/06/24 11:16:00 nia Exp $
+
+.include "../../mk/bsd.fast.prefs.mk"
+
+.if !defined(PLATFORM_SUPPORTS_LUAJIT)
+
+. for _luajit_arch in *arm* i386 mipseb mipsel powerpc x86_64
+LUAJIT_PLATFORMS+= *-*-${_luajit_arch}
+. endfor
+
+. for _luajit_platform in ${LUAJIT_PLATFORMS}
+. if !empty(MACHINE_PLATFORM:M${_luajit_platform})
+PLATFORM_SUPPORTS_LUAJIT= yes
+. endif
+. endfor
+PLATFORM_SUPPORTS_LUAJIT?= no
+
+.endif # !defined(PLATFORM_SUPPORTS_LUAJIT)
Home |
Main Index |
Thread Index |
Old Index