--- a/components/openssh/Makefile Fri May 09 13:24:16 2014 -0700
+++ b/components/openssh/Makefile Fri May 09 15:53:48 2014 -0700
@@ -53,7 +53,13 @@
# libraries that it needs.
CONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS) -B direct -z nolazyload"
+# Build with BSM audit. Do not check if getaudit and getaudit_addr are in
+# libbsm, because they are no longer in libbsm and not needed any way.
CONFIGURE_OPTIONS += --with-audit=bsm
+CONFIGURE_OPTIONS += "ac_cv_lib_bsm_getaudit=yes"
+CONFIGURE_OPTIONS += "ac_cv_func_getaudit=yes"
+CONFIGURE_OPTIONS += "ac_cv_func_getaudit_addr=yes"
+
CONFIGURE_OPTIONS += --with-libedit
CONFIGURE_OPTIONS += --with-kerberos5
CONFIGURE_OPTIONS += --with-pam