aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-01-22 14:18:22 -0800
committerKhem Raj <raj.khem@gmail.com>2020-01-22 14:20:35 -0800
commit613a05bfc7970446e0b744a65c48ba75041533c6 (patch)
tree5998b8fa2ddcb4e7d91b8ddc8484bc7565d35575
parent8c0c7f0a37a1b4a7eb7ea585971534cd1e481b8e (diff)
downloadmeta-openembedded-contrib-613a05bfc7970446e0b744a65c48ba75041533c6.tar.gz
recipes: Turn inherit classes from meta-py2 to conditional constructs
helps parsing without meta-py2 in mix Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-webserver/recipes-httpd/cherokee/cherokee_git.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-webserver/recipes-httpd/cherokee/cherokee_git.bb b/meta-webserver/recipes-httpd/cherokee/cherokee_git.bb
index 81805891a4..b31f4c430b 100644
--- a/meta-webserver/recipes-httpd/cherokee/cherokee_git.bb
+++ b/meta-webserver/recipes-httpd/cherokee/cherokee_git.bb
@@ -20,7 +20,7 @@ SRC_URI = "git://github.com/cherokee/webserver \
S = "${WORKDIR}/git"
-inherit autotools-brokensep pkgconfig binconfig update-rc.d systemd pythonnative
+inherit autotools-brokensep pkgconfig binconfig update-rc.d systemd ${@bb.utils.contains("BBPATH", "meta-python2", "pythonnative", "", d)}
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
PACKAGECONFIG[ffmpeg] = "--with-ffmpeg,--without-ffmpeg,libav"