summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2007-12-22 21:13:46 +0000
committeradam <adam@pkgsrc.org>2007-12-22 21:13:46 +0000
commite9659539a8617fff41f5f5f6d29ca824abe8336a (patch)
tree77482d569a92076fa9e92e5b610a217ba908207e
parentcbe7d044cb0b3badb0d71cd8b92af1ba14566b16 (diff)
downloadpkgsrc-e9659539a8617fff41f5f5f6d29ca824abe8336a.tar.gz
Fix building with ldap option enabled
-rw-r--r--mail/teapop/options.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/teapop/options.mk b/mail/teapop/options.mk
index a9356ca08b6..4237c24a50f 100644
--- a/mail/teapop/options.mk
+++ b/mail/teapop/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.4 2006/05/31 18:22:24 ghen Exp $
+# $NetBSD: options.mk,v 1.5 2007/12/22 21:13:46 adam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.teapop
PKG_SUPPORTED_OPTIONS= drac mysql apop vpop tcpd pgsql ldap inet6
@@ -46,7 +46,8 @@ LDFLAGS+= ${BUILDLINK_LDFLAGS.postgresql-lib}
.if !empty(PKG_OPTIONS:Mldap)
. include "../../databases/openldap-client/buildlink3.mk"
CONFIGURE_ARGS+= --with-ldap=openldap
-CONFIGURE_ARGS+= --with-ldap=${BUILDLINK_PREFIX.openldap-client}
+CONFIGURE_ARGS+= --with-ldapinc=${BUILDLINK_PREFIX.openldap-client}/include
+CONFIGURE_ARGS+= --with-ldaplib=${BUILDLINK_PREFIX.openldap-client}/lib
LDFLAGS+= ${BUILDLINK_LDFLAGS.openldap-client}
.endif