summaryrefslogtreecommitdiff
path: root/security/sudo
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-12-22 03:59:10 +0000
committerjlam <jlam@pkgsrc.org>2004-12-22 03:59:10 +0000
commit2a9c112e7314c5a88e841ab3338ec2f72e0d5079 (patch)
treef7021b36b6bd21dcfe89a19a0641dfae35a0b5cf /security/sudo
parent77d31fda4a27cdad3417f1ddc05f610f9526e513 (diff)
downloadpkgsrc-2a9c112e7314c5a88e841ab3338ec2f72e0d5079.tar.gz
Sort the options.
Diffstat (limited to 'security/sudo')
-rw-r--r--security/sudo/options.mk16
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