pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/LuaJIT2



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Jun 24 11:16:00 UTC 2020

Added Files:
        pkgsrc/lang/LuaJIT2: platform.mk

Log Message:
LuaJIT2: Add platform.mk


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/LuaJIT2/platform.mk

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

Added files:

Index: pkgsrc/lang/LuaJIT2/platform.mk
diff -u /dev/null pkgsrc/lang/LuaJIT2/platform.mk:1.1
--- /dev/null   Wed Jun 24 11:16:00 2020
+++ pkgsrc/lang/LuaJIT2/platform.mk     Wed Jun 24 11:16:00 2020
@@ -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