]> git.pld-linux.org Git - packages/seamonkey.git/commitdiff
- fix build with system mozldap
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 2 Jun 2012 17:45:28 +0000 (17:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    system-mozldap.patch -> 1.1

system-mozldap.patch [new file with mode: 0644]

diff --git a/system-mozldap.patch b/system-mozldap.patch
new file mode 100644 (file)
index 0000000..74a57b3
--- /dev/null
@@ -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
This page took 0.238572 seconds and 4 git commands to generate.