aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/sendmail/files/site.config.m4.ldap2
-rw-r--r--mail/sendmail812/files/site.config.m4.ldap2
2 files changed, 4 insertions, 0 deletions
diff --git a/mail/sendmail/files/site.config.m4.ldap b/mail/sendmail/files/site.config.m4.ldap
index c192bcb7962e..24f5ba307842 100644
--- a/mail/sendmail/files/site.config.m4.ldap
+++ b/mail/sendmail/files/site.config.m4.ldap
@@ -1,6 +1,8 @@
APPENDDEF(`confLIBDIRS', `-L%%LOCALBASE%%/lib')
APPENDDEF(`conf_libsm_ENVDEF', `-I%%LOCALBASE%%/include')
APPENDDEF(`conf_libsm_ENVDEF', `-DLDAPMAP')
+APPENDDEF(`conf_libsm_LIBS', `-lldap')
+APPENDDEF(`conf_libsm_LIBS', `-llber')
APPENDDEF(`conf_sendmail_ENVDEF', `-I%%LOCALBASE%%/include')
APPENDDEF(`conf_sendmail_ENVDEF', `-DLDAPMAP')
APPENDDEF(`conf_sendmail_LIBS', `-lldap')
diff --git a/mail/sendmail812/files/site.config.m4.ldap b/mail/sendmail812/files/site.config.m4.ldap
index c192bcb7962e..24f5ba307842 100644
--- a/mail/sendmail812/files/site.config.m4.ldap
+++ b/mail/sendmail812/files/site.config.m4.ldap
@@ -1,6 +1,8 @@
APPENDDEF(`confLIBDIRS', `-L%%LOCALBASE%%/lib')
APPENDDEF(`conf_libsm_ENVDEF', `-I%%LOCALBASE%%/include')
APPENDDEF(`conf_libsm_ENVDEF', `-DLDAPMAP')
+APPENDDEF(`conf_libsm_LIBS', `-lldap')
+APPENDDEF(`conf_libsm_LIBS', `-llber')
APPENDDEF(`conf_sendmail_ENVDEF', `-I%%LOCALBASE%%/include')
APPENDDEF(`conf_sendmail_ENVDEF', `-DLDAPMAP')
APPENDDEF(`conf_sendmail_LIBS', `-lldap')