summaryrefslogtreecommitdiff
path: root/security/sudo
diff options
context:
space:
mode:
authorjlam <jlam>2004-12-22 03:59:10 +0000
committerjlam <jlam>2004-12-22 03:59:10 +0000
commitfa462c16eeaf081b166ccd63e3068316d1591103 (patch)
treef7021b36b6bd21dcfe89a19a0641dfae35a0b5cf /security/sudo
parent030dfceb16b1949884e92cc8450e13f386c29881 (diff)
downloadpkgsrc-fa462c16eeaf081b166ccd63e3068316d1591103.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