diff options
author | jlam <jlam@pkgsrc.org> | 2004-12-22 04:36:32 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-12-22 04:36:32 +0000 |
commit | 02e7a05425bea55caa102458003ca3fab994548b (patch) | |
tree | 4eecd59f6c041714e814c678b4da5d5127f8d633 /security/sudo/options.mk | |
parent | c341e2b8fe2eacd45fed8af3b08d8a70390c4ab3 (diff) | |
download | pkgsrc-02e7a05425bea55caa102458003ca3fab994548b.tar.gz |
Allow building sudo without S/Key support on NetBSD. Patch from
PR pkg/28743 by Jukka Salmi with minor changes by me.
Diffstat (limited to 'security/sudo/options.mk')
-rw-r--r-- | security/sudo/options.mk | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/security/sudo/options.mk b/security/sudo/options.mk index d42630b118c..b211b6d5ff0 100644 --- a/security/sudo/options.mk +++ b/security/sudo/options.mk @@ -1,8 +1,12 @@ -# $NetBSD: options.mk,v 1.5 2004/12/22 03:59:10 jlam Exp $ +# $NetBSD: options.mk,v 1.6 2004/12/22 04:36:33 jlam Exp $ # PKG_OPTIONS_VAR= PKG_OPTIONS.sudo -PKG_SUPPORTED_OPTIONS= PAM kerberos ldap +PKG_SUPPORTED_OPTIONS= PAM kerberos ldap skey +.if ${OPSYS} == "NetBSD" +PKG_DEFAULT_OPTIONS+= skey +.endif + .include "../../mk/bsd.options.mk" .if !empty(PKG_OPTIONS:MPAM) @@ -25,3 +29,9 @@ 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:Mskey) +CONFIGURE_ARGS+= --with-skey +.else +CONFIGURE_ARGS+= --without-skey +.endif |