packages: seamonkey/system-mozldap.patch (NEW)=?UTF-8?Q?=20?=- fix build with system mozldap

baggins baggins at pld-linux.org
Sat Jun 2 19:45:34 CEST 2012


Author: baggins                      Date: Sat Jun  2 17:45:34 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix build with system mozldap

---- Files affected:
packages/seamonkey:
   system-mozldap.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/seamonkey/system-mozldap.patch
diff -u /dev/null packages/seamonkey/system-mozldap.patch:1.1
--- /dev/null	Sat Jun  2 19:45:34 2012
+++ packages/seamonkey/system-mozldap.patch	Sat Jun  2 19:45:28 2012
@@ -0,0 +1,25 @@
+--- mozilla/configure.in.orig	2010-06-23 19:43:07.000000000 +0200
++++ mozilla/configure.in	2010-07-06 11:14:54.350499449 +0200
+@@ -5032,6 +5032,13 @@
+     MOZ_LDAP_XPCOM=,
+     MOZ_LDAP_XPCOM=1)
+ 
++dnl system LDAP Support
++dnl ========================================================
++MOZ_ARG_WITH_STRING(system-ldap,
++[  --with-system-ldap[=PFX]
++                          Use system mozldap [installed at prefix PFX]],
++    MOZ_LDAP_DIR=$withval)
++
+ dnl ========================================================
+ dnl = Trademarked Branding 
+ dnl ========================================================
+@@ -7612,7 +7619,7 @@
+ 
+ # if we're building the LDAP XPCOM component, we need to build 
+ # the c-sdk first.  
+-if test -n "$COMPILE_ENVIRONMENT" -a -n "$MOZ_LDAP_XPCOM"; then
++if test -n "$COMPILE_ENVIRONMENT" -a -n "$MOZ_LDAP_XPCOM" -a -z "$MOZ_LDAP_DIR"; then
+     # these subdirs may not yet have been created in the build tree.
+     # don't use the "-p" switch to mkdir, since not all platforms have it
+     if test ! -d "directory/c-sdk/ldap"; then
================================================================


More information about the pld-cvs-commit mailing list