7d619eb1fe
This fixes the PLIST on systems that have PAM natively. Bump the PKGREVISION to 5.
30 lines
670 B
Makefile
30 lines
670 B
Makefile
# $NetBSD: options.mk,v 1.1 2006/06/16 18:43:18 jlam Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.lsh
|
|
PKG_SUPPORTED_OPTIONS= kerberos pam
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
###
|
|
### Kerberos password-checking support
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mkerberos)
|
|
. include "../../mk/krb5.buildlink3.mk"
|
|
CONFIGURE_ARGS+= --enable-kerberos
|
|
PLIST_SUBST+= KERBEROS=
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-kerberos
|
|
PLIST_SUBST+= KERBEROS="@comment "
|
|
.endif
|
|
|
|
###
|
|
### PAM password-checking support
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mpam)
|
|
. include "../../mk/pam.buildlink3.mk"
|
|
CONFIGURE_ARGS+= --enable-pam
|
|
PLIST_SUBST+= PAM=
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-pam
|
|
PLIST_SUBST+= PAM="@comment "
|
|
.endif
|