662ec382b5
Allows most of the dependencies to be disabled because they won't be used on a headless server.
21 lines
518 B
Makefile
21 lines
518 B
Makefile
# $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
|