# $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