aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/evolution-data-server/Makefile2
-rw-r--r--databases/evolution-data-server/pkg-plist2
2 files changed, 3 insertions, 1 deletions
diff --git a/databases/evolution-data-server/Makefile b/databases/evolution-data-server/Makefile
index 8c20277ae688..5641f943a8be 100644
--- a/databases/evolution-data-server/Makefile
+++ b/databases/evolution-data-server/Makefile
@@ -34,8 +34,10 @@ PLIST_SUB= VERSION="1.0" EVO_VERSION="1.0"
.if !defined(WITHOUT_LDAP)
USE_OPENLDAP= yes
CONFIGURE_ARGS+=--with-openldap=yes
+PLIST_SUB+= LDAP=""
.else
CONFIGURE_ARGS+=--with-openldap=no
+PLIST_SUB+= LDAP="@comment "
.endif
pre-everything::
diff --git a/databases/evolution-data-server/pkg-plist b/databases/evolution-data-server/pkg-plist
index 6890fdd06de7..6b9fe166dcd2 100644
--- a/databases/evolution-data-server/pkg-plist
+++ b/databases/evolution-data-server/pkg-plist
@@ -172,7 +172,7 @@ share/doc/libecal/libecal.devhelp
share/doc/libecal/right.png
share/doc/libecal/style.css
share/doc/libecal/up.png
-share/gnome/evolution-data-server-%%VERSION%%/evolutionperson.schema
+%%LDAP%%share/gnome/evolution-data-server-%%VERSION%%/evolutionperson.schema
share/gnome/evolution-data-server-%%VERSION%%/zoneinfo/Africa/Abidjan.ics
share/gnome/evolution-data-server-%%VERSION%%/zoneinfo/Africa/Accra.ics
share/gnome/evolution-data-server-%%VERSION%%/zoneinfo/Africa/Addis_Ababa.ics