linamh/dev-libs/mozldap/files/mozldap-6.0.4-pkgconfig.patch

13 lines
714 B
Diff

diff -uNr mozldap-6.0.4.orig/mozilla/directory/c-sdk/mozldap.pc.in mozldap-6.0.4/mozilla/directory/c-sdk/mozldap.pc.in
--- mozldap-6.0.4.orig/mozilla/directory/c-sdk/mozldap.pc.in 2006-10-06 01:01:43.000000000 +0200
+++ mozldap-6.0.4/mozilla/directory/c-sdk/mozldap.pc.in 2007-08-06 21:27:09.000000000 +0200
@@ -11,6 +11,6 @@
Name: mozldap
Description: Mozilla LDAP C SDK
Version: %MOZLDAP_VERSION%
-Requires: nspr >= %NSPR_VERSION% , nss >= %NSS_VERSION%
-Libs: -lssldap%libsuffix% -lprldap%libsuffix% -lldap%libsuffix%
+Requires: nspr >= %NSPR_VERSION% , nss >= %NSS_VERSION% , svrcore >= %SVRCORE_VERSION%
+Libs: -L${libdir} -lssldap%libsuffix% -lprldap%libsuffix% -lldap%libsuffix%
Cflags: -I${includedir}