pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/openldap In case db4 is disallowed by bdb.bu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a0a21c8ffa14
branches:  trunk
changeset: 484684:a0a21c8ffa14
user:      tv <tv%pkgsrc.org@localhost>
date:      Mon Nov 29 01:10:04 2004 +0000

description:
In case db4 is disallowed by bdb.buildlink3.mk, causing BDB_TYPE to be
set to "none", skip bdb altogether.

diffstat:

 databases/openldap/options.mk |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r fd54385d0163 -r a0a21c8ffa14 databases/openldap/options.mk
--- a/databases/openldap/options.mk     Mon Nov 29 01:03:03 2004 +0000
+++ b/databases/openldap/options.mk     Mon Nov 29 01:10:04 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.7 2004/11/15 17:54:49 jlam Exp $
+# $NetBSD: options.mk,v 1.8 2004/11/29 01:10:04 tv Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.openldap
 PKG_SUPPORTED_OPTIONS= bdb dynamic kerberos sasl slp
@@ -12,6 +12,9 @@
 .if !empty(PKG_OPTIONS:Mbdb)
 BDB_ACCEPTED=          db4 # db3?
 .  include "../../mk/bdb.buildlink3.mk"
+.endif
+BDB_TYPE?=             none
+.if ${BDB_TYPE} != "none"
 CONFIGURE_ARGS+=       --enable-bdb --enable-hdb
 .  if !empty(PKG_OPTIONS:Mdynamic)
 CONFIGURE_ARGS+=       --enable-hdb=mod



Home | Main Index | Thread Index | Old Index