blob: 4dda1798f2eddacf778c8086de7b30f22b70f25c (
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 2019/06/30 23:33:41 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.etlegacy-server
PKG_SUPPORTED_OPTIONS= lua sqlite3
PKG_SUGGESTED_OPTIONS= lua sqlite3
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mlua)
CMAKE_ARGS+= -DFEATURE_LUA=ON
.include "../../lang/lua53/buildlink3.mk"
.else
CMAKE_ARGS+= -DFEATURE_LUA=OFF
.endif
.if !empty(PKG_OPTIONS:Msqlite3)
CMAKE_ARGS+= -DFEATURE_DBMS=ON
.include "../../databases/sqlite3/buildlink3.mk"
.else
CMAKE_ARGS+= -DFEATURE_DBMS=OFF
.endif
|