blob: 85f8bca12d98df00a1bc6b902d87fe2867d1e33e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# $NetBSD: options.mk,v 1.1 2020/06/29 13:04:14 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.love
PKG_SUPPORTED_OPTIONS= luajit
.include "../../lang/LuaJIT2/platform.mk"
.if !empty(PLATFORM_SUPPORTS_LUAJIT:M[Yy][Ee][Ss])
PKG_SUGGESTED_OPTIONS= luajit
.endif
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mluajit)
# JIT needs WX mappings
NOT_PAX_MPROTECT_SAFE+= love11/bin/love
. include "../../lang/LuaJIT2/buildlink3.mk"
.else
CONFIGURE_ARGS+= --with-lua=lua
CONFIGURE_ARGS+= --with-luaversion=-5.1
. include "../../lang/lua51/buildlink3.mk"
.endif
|