pkgsrc/x11/slim/options.mk
nia 52da232e12 slim: disable ConsoleKit support by default
it works just fine without it, and consolekit introduces a mozjs
dependency that breaks the package on e.g. arm
2021-06-22 08:29:36 +00:00

17 lines
387 B
Makefile

# $NetBSD: options.mk,v 1.2 2021/06/22 08:29:36 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.slim
PKG_SUPPORTED_OPTIONS= consolekit
PKG_SUGGESTED_OPTIONS=
.include "../../mk/bsd.options.mk"
#
# Consolekit support
#
.if !empty(PKG_OPTIONS:Mconsolekit)
.include "../../sysutils/consolekit/buildlink3.mk"
CMAKE_ARGS= -DUSE_CONSOLEKIT:Bool=Yes
.else
CMAKE_ARGS= -DUSE_CONSOLEKIT:Bool=No
.endif