summaryrefslogtreecommitdiff
path: root/databases/openldap/patches
diff options
context:
space:
mode:
authorjlam <jlam>2004-11-26 02:52:14 +0000
committerjlam <jlam>2004-11-26 02:52:14 +0000
commit9d3d7f159a6ceb9d675b2236ceaf132a156292d1 (patch)
tree2c40325aa47832f6897fca617f285249679216ab /databases/openldap/patches
parent333763a2efafcadf0a4474deab292c199bb5bac1 (diff)
downloadpkgsrc-9d3d7f159a6ceb9d675b2236ceaf132a156292d1.tar.gz
Teach openldap to use DL_{CFLAGS,LDFLAGS,LIBS} when linking slapd when
building dynamic backends or when using Cyrus SASL.
Diffstat (limited to 'databases/openldap/patches')
-rw-r--r--databases/openldap/patches/patch-ag17
1 files changed, 14 insertions, 3 deletions
diff --git a/databases/openldap/patches/patch-ag b/databases/openldap/patches/patch-ag
index 7db247ff5b6..05bd4476f60 100644
--- a/databases/openldap/patches/patch-ag
+++ b/databases/openldap/patches/patch-ag
@@ -1,8 +1,19 @@
-$NetBSD: patch-ag,v 1.2 2004/07/24 03:32:24 jlam Exp $
+$NetBSD: patch-ag,v 1.3 2004/11/26 02:52:14 jlam Exp $
---- servers/slapd/Makefile.in.orig Mon Apr 12 14:07:40 2004
+--- servers/slapd/Makefile.in.orig 2004-07-25 18:31:04.000000000 -0400
+++ servers/slapd/Makefile.in
-@@ -401,17 +401,14 @@ install-schema: FORCE
+@@ -74,6 +74,10 @@ XLIBS = $(SLAPD_STATIC_DEPENDS) $(SLAPD_
+ XXLIBS = $(SLAPD_LIBS) $(SECURITY_LIBS) $(LUTIL_LIBS)
+ XXXLIBS = $(LTHREAD_LIBS) $(SLAPI_LIBS) $(MODULES_LIBS)
+
++AC_CFLAGS += $(DL_CFLAGS)
++AC_LDFLAGS += $(DL_LDFLAGS)
++AC_LIBS += $(DL_LIBS)
++
+ BUILD_OPT = "--enable-slapd"
+ BUILD_SRV = @BUILD_SLAPD@
+
+@@ -401,17 +405,14 @@ install-schema: FORCE
else \
echo "PRESERVING EXISTING SCHEMA FILE $$SD" ; \
fi ; \