blob: e5cb2c0ea0ca1237919fd2389e263b78f9fff702 (
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.2 2020/11/06 12:15:54 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)
CONFIGURE_ARGS+= --with-lua=luajit
. include "../../lang/LuaJIT2/buildlink3.mk"
.else
CONFIGURE_ARGS+= --with-lua=lua
CONFIGURE_ARGS+= --with-luaversion=-5.1
. include "../../lang/lua51/buildlink3.mk"
.endif
|