summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-10-14 09:18:15 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2008-10-14 09:18:15 +0000
commit43afe26b42391038a7d7fbda7d07be6a17a7cc22 (patch)
tree7f2b37ef328ee33942d31a01bfa0da5c66c1e35a /net-nds/openldap/files
parentBump imlib2 dep for bug #196525 (diff)
downloadgentoo-2-43afe26b42391038a7d7fbda7d07be6a17a7cc22.tar.gz
gentoo-2-43afe26b42391038a7d7fbda7d07be6a17a7cc22.tar.bz2
gentoo-2-43afe26b42391038a7d7fbda7d07be6a17a7cc22.zip
Bug #189817, fix linking of libldap_r with as-needed.
(Portage version: 2.2_rc11/cvs/Linux 2.6.27-rc1-10246-gca5de40 x86_64)
Diffstat (limited to 'net-nds/openldap/files')
-rw-r--r--net-nds/openldap/files/openldap-2.4.11-libldap_r.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-nds/openldap/files/openldap-2.4.11-libldap_r.patch b/net-nds/openldap/files/openldap-2.4.11-libldap_r.patch
new file mode 100644
index 000000000000..448249a3b583
--- /dev/null
+++ b/net-nds/openldap/files/openldap-2.4.11-libldap_r.patch
@@ -0,0 +1,11 @@
+diff -Nuar openldap-2.4.11.orig/servers/slapd/slapi/Makefile.in openldap-2.4.11/servers/slapd/slapi/Makefile.in
+--- openldap-2.4.11.orig/servers/slapd/slapi/Makefile.in 2008-02-11 15:26:49.000000000 -0800
++++ openldap-2.4.11/servers/slapd/slapi/Makefile.in 2008-10-14 02:10:18.402799262 -0700
+@@ -37,6 +37,7 @@
+ XLIBS = $(LIBRARY)
+ XXLIBS =
+ NT_LINK_LIBS = $(AC_LIBS)
++UNIX_LINK_LIBS = ../../../libraries/libldap_r/libldap_r.la $(LTHREAD_LIBS)
+
+ XINCPATH = -I$(srcdir)/.. -I$(srcdir)
+ XDEFS = $(MODULES_CPPFLAGS)