diff options
Diffstat (limited to 'security/sudo')
-rw-r--r-- | security/sudo/options.mk | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/security/sudo/options.mk b/security/sudo/options.mk index d2f59f746ac..d42630b118c 100644 --- a/security/sudo/options.mk +++ b/security/sudo/options.mk @@ -1,10 +1,16 @@ -# $NetBSD: options.mk,v 1.4 2004/11/26 18:26:01 jlam Exp $ +# $NetBSD: options.mk,v 1.5 2004/12/22 03:59:10 jlam Exp $ # PKG_OPTIONS_VAR= PKG_OPTIONS.sudo -PKG_SUPPORTED_OPTIONS= kerberos ldap PAM +PKG_SUPPORTED_OPTIONS= PAM kerberos ldap .include "../../mk/bsd.options.mk" +.if !empty(PKG_OPTIONS:MPAM) +. include "../../security/PAM/buildlink3.mk" +DL_AUTO_VARS= yes +CONFIGURE_ARGS+= --with-pam +.endif + .if !empty(PKG_OPTIONS:Mkerberos) . include "../../mk/krb5.buildlink3.mk" CONFIGURE_ARGS+= --without-kerb4 @@ -19,9 +25,3 @@ DL_AUTO_VARS= yes CONFIGURE_ARGS+= --with-ldap=${BUILDLINK_PREFIX.openldap} CONFIGURE_ARGS+= --with-ldap-conf-file=${PKG_SYSCONFDIR}/ldap.conf .endif - -.if !empty(PKG_OPTIONS:MPAM) -. include "../../security/PAM/buildlink3.mk" -DL_AUTO_VARS= yes -CONFIGURE_ARGS+= --with-pam -.endif |