summaryrefslogtreecommitdiff
path: root/mail/sendmail
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2002-06-17 21:05:06 +0000
committertron <tron@pkgsrc.org>2002-06-17 21:05:06 +0000
commitc31f29b41d3a0f29c4e1efab3d666f5fe4014fe9 (patch)
tree4339dca710505a82c9c03dc0f1dd53d92b1be29e /mail/sendmail
parentdd6392f204013efd2ce5a52e230483d3a56e4d86 (diff)
downloadpkgsrc-c31f29b41d3a0f29c4e1efab3d666f5fe4014fe9.tar.gz
Fix and buildlinkify broken LDAP support.
Diffstat (limited to 'mail/sendmail')
-rw-r--r--mail/sendmail/Makefile4
-rw-r--r--mail/sendmail/files/site.config.m4-ldap2
2 files changed, 3 insertions, 3 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index eb45562db2a..2461896801e 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2002/06/17 20:56:53 tron Exp $
+# $NetBSD: Makefile,v 1.48 2002/06/17 21:05:06 tron Exp $
DISTNAME= sendmail.8.11.6
PKGNAME= sendmail-8.11.6
@@ -50,7 +50,7 @@ DEPENDS+= db-2.7.7:../../databases/db
.endif
.if defined(USE_LDAP) && ${USE_LDAP} == YES
-DEPENDS+= openldap-1.2.*:../../databases/openldap
+.include "../../databases/openldap/buildlink.mk"
.endif
.if defined(USE_STARTTLS) && ${USE_STARTTLS} == YES
diff --git a/mail/sendmail/files/site.config.m4-ldap b/mail/sendmail/files/site.config.m4-ldap
index ba8c5836d14..a497cd25e0d 100644
--- a/mail/sendmail/files/site.config.m4-ldap
+++ b/mail/sendmail/files/site.config.m4-ldap
@@ -1,4 +1,4 @@
# enable ldap
APPENDDEF(`confMAPDEF', `-DLDAPMAP')
-APPENDDEF(`confENVDEF', `-I${LOCALBASE}/include')
+APPENDDEF(`confENVDEF', `-I${BUILDLINK_DIR}/include')
APPENDDEF(`confLIBS', `-L${LOCALBASE}/lib -lldap -llber')