pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/openldap Bring options handling in buildlink...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5b3f9a1aae31
branches:  trunk
changeset: 483134:5b3f9a1aae31
user:      markd <markd%pkgsrc.org@localhost>
date:      Mon Nov 08 12:17:50 2004 +0000

description:
Bring options handling in buildlink3.mk into sync with current options.mk.

diffstat:

 databases/openldap/buildlink3.mk |  19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)

diffs (34 lines):

diff -r bb267c9948cc -r 5b3f9a1aae31 databases/openldap/buildlink3.mk
--- a/databases/openldap/buildlink3.mk  Mon Nov 08 11:57:11 2004 +0000
+++ b/databases/openldap/buildlink3.mk  Mon Nov 08 12:17:50 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2004/10/03 00:13:22 tv Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2004/11/08 12:17:50 markd Exp $
 
 BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
 OPENLDAP_BUILDLINK3_MK:=       ${OPENLDAP_BUILDLINK3_MK}+
@@ -20,14 +20,17 @@
 
 PKG_OPTIONS.openldap?= ${PKG_DEFAULT_OPTIONS}
 
+.if !empty(PKG_OPTIONS.openldap:Mkerberos)
+.  if empty(PKG_OPTIONS.openldap:Msasl)
+PKG_OPTIONS.openldap+= sasl
+.  endif
+.endif
+
 .if !empty(PKG_OPTIONS.openldap:Msasl)
-.  if !defined(USE_SASL2) && !defined(USE_SASL)
-.    include "../../security/cyrus-sasl2/buildlink3.mk"
-.  elif defined(USE_SASL2) && !empty(USE_SASL2:M[yY][eE][sS])
-.    include "../../security/cyrus-sasl2/buildlink3.mk"
-.  elif defined(USE_SASL) && !empty(USE_SASL:M[yY][eE][sS])
-.    include "../../security/cyrus-sasl/buildlink3.mk"
-.  endif
+.  include "../../security/cyrus-sasl2/buildlink3.mk"
+.endif
+.if !empty(PKG_OPTIONS.openldap:Mslp)
+.  include "../../net/openslp/buildlink3.mk"
 .endif
 .include "../../security/openssl/buildlink3.mk"
 



Home | Main Index | Thread Index | Old Index