exim: Fix build with LDAP (#56058)

The lber library is now required, see also:
https://bugs.archlinux.org/task/27509
This commit is contained in:
Janne Heß 2019-03-12 20:28:53 +01:00 committed by Dmitry Kalinkin
parent bcb168d027
commit b2a6183f75

View File

@ -47,8 +47,8 @@ stdenv.mkDerivation rec {
${stdenv.lib.optionalString enableLDAP ''
s:^# \(LDAP_LIB_TYPE=OPENLDAP2\)$:\1:
s:^# \(LOOKUP_LDAP=yes\)$:\1:
s:^\(LOOKUP_LIBS\)=\(.*\):\1=\2 -lldap:
s:^# \(LOOKUP_LIBS\)=.*:\1=-lldap:
s:^\(LOOKUP_LIBS\)=\(.*\):\1=\2 -lldap -llber:
s:^# \(LOOKUP_LIBS\)=.*:\1=-lldap -llber:
''}
${stdenv.lib.optionalString enableMySQL ''
s:^# \(LOOKUP_MYSQL=yes\)$:\1: