summaryrefslogtreecommitdiff
path: root/net/netatalk1/options.mk
blob: 3924a571ddad1eaca75fd0269d61ea0d994b5b25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# $NetBSD: options.mk,v 1.1 2005/06/05 23:40:56 taca 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.
###
.if !empty(PKG_OPTIONS:Mpam)
.  include "../../security/PAM/module.mk"
CONFIGURE_ARGS+=	--with-pam
PLIST_SUBST+=           PAM=
.else
CONFIGURE_ARGS+=	--without-pam
PLIST_SUBST+=           PAM="@comment "
.endif