pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/teapop Fix building with ldap option enabled



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f0e32d4c08e3
branches:  trunk
changeset: 536794:f0e32d4c08e3
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Dec 22 21:13:46 2007 +0000

description:
Fix building with ldap option enabled

diffstat:

 mail/teapop/options.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r cdac633e67a7 -r f0e32d4c08e3 mail/teapop/options.mk
--- a/mail/teapop/options.mk    Sat Dec 22 21:03:31 2007 +0000
+++ b/mail/teapop/options.mk    Sat Dec 22 21:13:46 2007 +0000
@@ -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 @@
 .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
 



Home | Main Index | Thread Index | Old Index