All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH v2 3/3] libldb: explain dependency to openldap better
@ 2015-11-12 16:18 Jens Rehsack
  0 siblings, 0 replies; only message in thread
From: Jens Rehsack @ 2015-11-12 16:18 UTC (permalink / raw)
  To: openembedded-devel


Since openldap is a "used when there" dependency, explain how to
get rid of it. To ensure successive builds have identical results,
ensure openldap is - in case it's wanted - available for configure
stage, not at packaging stage.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
---
 meta-oe/recipes-support/libldb/libldb_1.1.17.bb | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/libldb/libldb_1.1.17.bb b/meta-oe/recipes-support/libldb/libldb_1.1.17.bb
index 44f061a..128daf7 100644
--- a/meta-oe/recipes-support/libldb/libldb_1.1.17.bb
+++ b/meta-oe/recipes-support/libldb/libldb_1.1.17.bb
@@ -4,9 +4,14 @@ SECTION = "libs"
 LICENSE = "LGPL-3.0+ & LGPL-2.1+ & GPL-3.0+"
 
 DEPENDS += "libtdb talloc libtevent popt"
-RDEPENDS_${PN} += "libtevent popt libtalloc openldap"
+RDEPENDS_${PN} += "libtevent popt libtalloc"
 RDEPENDS_pyldb += "python libtdb libtalloc"
 
+# openldap is a "used when there" dependency without the opportunity
+# to disable via option
+# when this is the only recipe using openldap, remove it in .bbappend
+DEPENDS += "openldap"
+
 SRC_URI = "http://samba.org/ftp/ldb/ldb-${PV}.tar.gz \
            file://do-not-import-target-module-while-cross-compile.patch \
           "
-- 
2.4.9 (Apple Git-60)

-- 
Jens Rehsack - rehsack@gmail.com



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-11-12 16:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-12 16:18 [meta-oe][PATCH v2 3/3] libldb: explain dependency to openldap better Jens Rehsack

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.