diff options
Diffstat (limited to 'meta-webserver/recipes-httpd/cherokee/cherokee_git.bb')
-rw-r--r-- | meta-webserver/recipes-httpd/cherokee/cherokee_git.bb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta-webserver/recipes-httpd/cherokee/cherokee_git.bb b/meta-webserver/recipes-httpd/cherokee/cherokee_git.bb index d16e04e6b..81805891a 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 \ | |||
20 | 20 | ||
21 | S = "${WORKDIR}/git" | 21 | S = "${WORKDIR}/git" |
22 | 22 | ||
23 | inherit autotools-brokensep pkgconfig binconfig update-rc.d systemd python3native | 23 | inherit autotools-brokensep pkgconfig binconfig update-rc.d systemd pythonnative |
24 | 24 | ||
25 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" | 25 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" |
26 | PACKAGECONFIG[ffmpeg] = "--with-ffmpeg,--without-ffmpeg,libav" | 26 | PACKAGECONFIG[ffmpeg] = "--with-ffmpeg,--without-ffmpeg,libav" |
@@ -70,3 +70,8 @@ RPROVIDES_${PN} += "${PN}-systemd" | |||
70 | RREPLACES_${PN} += "${PN}-systemd" | 70 | RREPLACES_${PN} += "${PN}-systemd" |
71 | RCONFLICTS_${PN} += "${PN}-systemd" | 71 | RCONFLICTS_${PN} += "${PN}-systemd" |
72 | SYSTEMD_SERVICE_${PN} = "cherokee.service" | 72 | SYSTEMD_SERVICE_${PN} = "cherokee.service" |
73 | |||
74 | python() { | ||
75 | if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split(): | ||
76 | raise bb.parse.SkipRecipe('Requires meta-python2 to be present.') | ||
77 | } | ||