|
|
@ -58,6 +58,8 @@ sm_main() { |
|
|
|
# LDAP support |
|
|
|
# LDAP support |
|
|
|
if pkginstalled -f openldap; then |
|
|
|
if pkginstalled -f openldap; then |
|
|
|
sm_appenddef "confENVDEF" "-DLDAPMAP" |
|
|
|
sm_appenddef "confENVDEF" "-DLDAPMAP" |
|
|
|
|
|
|
|
# enable support for ldap referrals |
|
|
|
|
|
|
|
sm_appenddef "confENVDEF" "-DLDAP_REFERRALS" |
|
|
|
sm_appenddef "confLIBS" "-lldap -llber" |
|
|
|
sm_appenddef "confLIBS" "-lldap -llber" |
|
|
|
sm_appenddef "confLIBDIR" "-L$( pkgprefix -r libdir openldap )" |
|
|
|
sm_appenddef "confLIBDIR" "-L$( pkgprefix -r libdir openldap )" |
|
|
|
sm_appenddef "confINCDIR" "-L$( pkgprefix -r includedir openldap )" |
|
|
|
sm_appenddef "confINCDIR" "-L$( pkgprefix -r includedir openldap )" |
|
|
|