summaryrefslogtreecommitdiff
path: root/net/netatalk1/options.mk
blob: dd6655c8dfe5519cb7d24a5433dc901984d86d0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# $NetBSD: options.mk,v 1.3 2008/04/12 22:43:08 jlam Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.netatalk1
PKG_SUPPORTED_OPTIONS=	pam
.include "../../mk/bsd.options.mk"

###
### Support PAM authentication and build smbpass and winbind PAM modules.
###
PLIST_VARS+=		pam
.if !empty(PKG_OPTIONS:Mpam)
.  include "../../security/PAM/module.mk"
CONFIGURE_ARGS+=	--with-pam
PLIST.pam=		yes
.else
CONFIGURE_ARGS+=	--without-pam
.endif