diff options
author | Max Kellermann <max.kellermann@gmail.com> | 2018-09-20 15:16:23 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-21 18:45:47 -0700 |
commit | 631b3edebd1acc963aecdfffa066c78dc9bf98ef (patch) | |
tree | d26a75cd9acf84e6c83ddeba516f1b14b0eee9f8 /meta/recipes-extended | |
parent | f7fd5de4cfb4a2f3e8c74bc95e215549f227f37c (diff) | |
download | poky-631b3edebd1acc963aecdfffa066c78dc9bf98ef.tar.gz |
libsolv: make rpm optional
(From OE-Core rev: dfe55fdc34ae32b75934ea42b44d9ab6023e0250)
Signed-off-by: Max Kellermann <max.kellermann@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/libsolv/libsolv_0.6.35.bb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-extended/libsolv/libsolv_0.6.35.bb b/meta/recipes-extended/libsolv/libsolv_0.6.35.bb index 0956453022..12dfc5d3a2 100644 --- a/meta/recipes-extended/libsolv/libsolv_0.6.35.bb +++ b/meta/recipes-extended/libsolv/libsolv_0.6.35.bb | |||
@@ -5,7 +5,7 @@ SECTION = "devel" | |||
5 | LICENSE = "BSD-3-Clause" | 5 | LICENSE = "BSD-3-Clause" |
6 | LIC_FILES_CHKSUM = "file://LICENSE.BSD;md5=62272bd11c97396d4aaf1c41bc11f7d8" | 6 | LIC_FILES_CHKSUM = "file://LICENSE.BSD;md5=62272bd11c97396d4aaf1c41bc11f7d8" |
7 | 7 | ||
8 | DEPENDS = "expat zlib rpm" | 8 | DEPENDS = "expat zlib" |
9 | 9 | ||
10 | SRC_URI = "git://github.com/openSUSE/libsolv.git" | 10 | SRC_URI = "git://github.com/openSUSE/libsolv.git" |
11 | SRC_URI_append_libc-musl = " file://0001-Add-fallback-fopencookie-implementation.patch \ | 11 | SRC_URI_append_libc-musl = " file://0001-Add-fallback-fopencookie-implementation.patch \ |
@@ -19,7 +19,10 @@ S = "${WORKDIR}/git" | |||
19 | 19 | ||
20 | inherit cmake | 20 | inherit cmake |
21 | 21 | ||
22 | EXTRA_OECMAKE = "-DLIB=${baselib} -DMULTI_SEMANTICS=ON -DENABLE_RPMMD=ON -DENABLE_RPMDB=ON -DENABLE_COMPLEX_DEPS=ON" | 22 | PACKAGECONFIG ??= "rpm" |
23 | PACKAGECONFIG[rpm] = "-DENABLE_RPMMD=ON -DENABLE_RPMDB=ON,,rpm" | ||
24 | |||
25 | EXTRA_OECMAKE = "-DLIB=${baselib} -DMULTI_SEMANTICS=ON -DENABLE_COMPLEX_DEPS=ON" | ||
23 | 26 | ||
24 | PACKAGES =+ "${PN}-tools ${PN}ext" | 27 | PACKAGES =+ "${PN}-tools ${PN}ext" |
25 | 28 | ||