blob: 0155c67abcb46d7e3f6ebd2caf295791dde8b923 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $NetBSD: options.mk,v 1.3 2014/06/10 13:53:47 joerg Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gdm
PKG_SUPPORTED_OPTIONS= consolekit inet6 pam
PKG_SUGGESTED_OPTIONS= consolekit inet6
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif
.if !empty(PKG_OPTIONS:Mconsolekit)
CONFIGURE_ARGS+= --with-console-kit=yes
.include "../../sysutils/consolekit/buildlink3.mk"
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
.else
CONFIGURE_ARGS+= --with-console-kit=no
.endif
PLIST_VARS+= pam
.if !empty(PKG_OPTIONS:Mpam)
. include "../../mk/pam.buildlink3.mk"
CONFIGURE_ARGS+= --enable-authentication-scheme=pam
. if ${PAM_DEFAULT} == "linux-pam"
PLIST.pam= yes
. endif
.elif exists(/etc/shadow)
CONFIGURE_ARGS+= --enable-authentication-scheme=shadow
.else
CONFIGURE_ARGS+= --enable-authentication-scheme=crypt
.endif
|