Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/LuaJIT2 LuaJIT2: sprinkle ONLY_FOR_PLATFORM



details:   https://anonhg.NetBSD.org/pkgsrc/rev/74ffbf0bf902
branches:  trunk
changeset: 434852:74ffbf0bf902
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Jun 24 10:41:49 2020 +0000

description:
LuaJIT2: sprinkle ONLY_FOR_PLATFORM

diffstat:

 lang/LuaJIT2/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 90565e6f2889 -r 74ffbf0bf902 lang/LuaJIT2/Makefile
--- a/lang/LuaJIT2/Makefile     Wed Jun 24 09:46:26 2020 +0000
+++ b/lang/LuaJIT2/Makefile     Wed Jun 24 10:41:49 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2020/01/26 17:31:26 rillig Exp $
+# $NetBSD: Makefile,v 1.14 2020/06/24 10:41:49 nia Exp $
 #
 
 DISTNAME=      LuaJIT-2.0.5
@@ -14,6 +14,14 @@
 
 USE_TOOLS+=    gmake
 
+# LuaJIT 2.1.0 will support mips64 and aarch64.
+ONLY_FOR_PLATFORM+=    *-*-*arm*
+ONLY_FOR_PLATFORM+=    *-*-i386
+ONLY_FOR_PLATFORM+=    *-*-mipseb
+ONLY_FOR_PLATFORM+=    *-*-mipsel
+ONLY_FOR_PLATFORM+=    *-*-powerpc
+ONLY_FOR_PLATFORM+=    *-*-x86_64
+
 NOT_PAX_MPROTECT_SAFE+=        bin/luajit
 
 # Address pkg/47587 lua not linked to pthread causes issues with modules



Home | Main Index | Thread Index | Old Index