Browse Source

sendmail: enable LDAP support if openldap is installed

user/chris/next/0.4
Christian Wiese 13 years ago committed by Christian Wiese
parent
commit
1826fe7204
  1. 8
      mail/sendmail/sendmail.conf

8
mail/sendmail/sendmail.conf

@ -55,6 +55,14 @@ sm_main() {
sm_appenddef "confINCDIR" "-L$( pkgprefix -r includedir openssl )"
fi
# LDAP support
if pkginstalled -f openldap; then
sm_appenddef "confENVDEF" "-DLDAPMAP"
sm_appenddef "confLIBS" "-lldap -llber"
sm_appenddef "confLIBDIR" "-L$( pkgprefix -r libdir openldap )"
sm_appenddef "confINCDIR" "-L$( pkgprefix -r includedir openldap )"
fi
cd ..; ./Build; ./Build install
install_setmailer sendmail
}

Loading…
Cancel
Save