From 402b35a798dbe42e72b263ed256994f00415a4a7 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 14 Jul 2010 15:56:37 -0400 Subject: [PATCH] Add ldap flavor to default build --- mkpkg | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mkpkg b/mkpkg index c36ee9402..88cd0c7d9 100755 --- a/mkpkg +++ b/mkpkg @@ -120,8 +120,11 @@ case "$platform" in --with-secure-path=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin" ;; *) + if test "${SUDO_FLAVOR:-vanilla}" == "ldap"; then + configure_opts="--with-ldap" + fi # Note, must indent with tabs, not spaces due to IFS trickery - configure_opts=" + configure_opts="$configure_opts --prefix=$prefix --with-insults=disabled --with-logging=syslog -- 2.40.0