diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/base.bbclass | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index f3f798f9bf..ba1f230ced 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -401,8 +401,14 @@ python () { | |||
401 | bb.note("SKIPPING %s because it's %s" % (pn, this_license)) | 401 | bb.note("SKIPPING %s because it's %s" % (pn, this_license)) |
402 | raise bb.parse.SkipPackage("incompatible with license %s" % this_license) | 402 | raise bb.parse.SkipPackage("incompatible with license %s" % this_license) |
403 | 403 | ||
404 | # Git packages should DEPEND on git-native | ||
405 | srcuri = d.getVar('SRC_URI', 1) | 404 | srcuri = d.getVar('SRC_URI', 1) |
405 | # Svn packages should DEPEND on subversion-native | ||
406 | if "svn://" in srcuri: | ||
407 | depends = d.getVarFlag('do_fetch', 'depends') or "" | ||
408 | depends = depends + " subversion-native:do_populate_sysroot" | ||
409 | d.setVarFlag('do_fetch', 'depends', depends) | ||
410 | |||
411 | # Git packages should DEPEND on git-native | ||
406 | if "git://" in srcuri: | 412 | if "git://" in srcuri: |
407 | depends = d.getVarFlag('do_fetch', 'depends') or "" | 413 | depends = d.getVarFlag('do_fetch', 'depends') or "" |
408 | depends = depends + " git-native:do_populate_sysroot" | 414 | depends = depends + " git-native:do_populate_sysroot" |