On 10/21/2011 02:48 AM, Martin Jansa wrote:
Signed-off-by: Martin Jansa<martin.ja...@gmail.com>
---
meta/classes/base.bbclass | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index f539744..bced226 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -401,6 +401,13 @@ python () {
bb.note("SKIPPING %s because it's %s" % (pn,
this_license))
raise bb.parse.SkipPackage("incompatible with license %s"
% this_license)
+ # Svn packages should DEPEND on subversion-native
+ srcuri = bb.data.getVar('SRC_URI', d, 1)
+ if "svn://" in srcuri:
+ depends = bb.data.getVarFlag('do_fetch', 'depends', d) or ""
+ depends = depends + " subversion-native:do_populate_sysroot"
+ bb.data.setVarFlag('do_fetch', 'depends', depends, d)
+
# Git packages should DEPEND on git-native
srcuri = bb.data.getVar('SRC_URI', d, 1)
if "git://" in srcuri:
This change introduces a circular dependency when I tried to build.
Sau!
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core