File zarafa-02-ldapmsplugin.diff of Package zarafa
From: Jan Engelhardt <jengelh@inai.de>
Date: 2013-06-28 07:55:28.103159907 +0200
build: always build ldapmsplugin
The source is already there in the free version, so why not just
compile it.
---
provider/plugins/Makefile.am | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Index: zcp-7.2.2.370/provider/plugins/Makefile.am
===================================================================
--- zcp-7.2.2.370.orig/provider/plugins/Makefile.am
+++ zcp-7.2.2.370/provider/plugins/Makefile.am
@@ -23,6 +23,7 @@ endif
if WITH_LDAP
pkglib_LTLIBRARIES += ldapplugin.la
+pkglib_LTLIBRARIES += ldapmsplugin.la
#noinst_DATA += ldapplugin.ldd
ldapplugin_la_CPPFLAGS = ${AM_CPPFLAGS} $(LDAP_FLAGS) -DLDAP_THREAD_SAFE
ldapplugin_la_SOURCES = LDAPUserPlugin.cpp LDAPUserPlugin.h LDAPCache.cpp LDAPCache.h ldappasswords.cpp ldappasswords.h $(COMMON_PLUGIN_FILES)
@@ -31,7 +32,10 @@ ldapplugin_la_LIBADD = \
${top_builddir}/common/libzcp_common_util.la \
../libserver/libzarafa_server.la ${CRYPTO_LIBS} ${LDAP_LIBS}
dist_pkgdata_DATA = ${ldapplugin_la_SOURCES}
-
+ldapmsplugin_la_CPPFLAGS = ${ldapplugin_la_CPPFLAGS} -DWITH_MULTISERVER
+ldapmsplugin_la_SOURCES = ${ldapplugin_la_SOURCES}
+ldapmsplugin_la_LDFLAGS = ${ldapplugin_la_LDFLAGS}
+ldapmsplugin_la_LIBADD = ${ldapplugin_la_LIBADD}
endif