diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2018-11-21 14:57:21 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-11-22 12:02:57 +0000 |
commit | a57d688e46a9c674c41cead0f39a56a54f40713b (patch) | |
tree | dcfb36bb302e870194368b611e0ee69d01bd755a /meta/recipes-devtools/libdnf/libdnf/0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch | |
parent | 0c5e19c96d77db139206b58a8aaa960b38009452 (diff) | |
download | poky-a57d688e46a9c674c41cead0f39a56a54f40713b.tar.gz |
libdnf: update to 0.22.0
(From OE-Core rev: 35c163f6ebdc41eb6b65fca05706854b1aac20b5)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/libdnf/libdnf/0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch')
-rw-r--r-- | meta/recipes-devtools/libdnf/libdnf/0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/meta/recipes-devtools/libdnf/libdnf/0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch b/meta/recipes-devtools/libdnf/libdnf/0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch index 6cf48a49f3..80b1ed7bf1 100644 --- a/meta/recipes-devtools/libdnf/libdnf/0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch +++ b/meta/recipes-devtools/libdnf/libdnf/0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From bcea5c5063a2d5f07dbe6f40aee30370fc4ba656 Mon Sep 17 00:00:00 2001 | 1 | From 2bcd0b9f6310bacdc554e077e85319a5e90e5ce0 Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Fri, 30 Dec 2016 18:24:50 +0200 | 3 | Date: Fri, 30 Dec 2016 18:24:50 +0200 |
4 | Subject: [PATCH 1/2] Set libsolv variables with pkg-config (cmake's own module | 4 | Subject: [PATCH] Set libsolv variables with pkg-config (cmake's own module |
5 | 5 | ||
6 | doesn't work properly). | 6 | doesn't work properly). |
7 | 7 | ||
@@ -13,19 +13,16 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | |||
13 | 1 file changed, 2 insertions(+), 1 deletion(-) | 13 | 1 file changed, 2 insertions(+), 1 deletion(-) |
14 | 14 | ||
15 | diff --git a/CMakeLists.txt b/CMakeLists.txt | 15 | diff --git a/CMakeLists.txt b/CMakeLists.txt |
16 | index 8875bbf..ca280f3 100644 | 16 | index 0b405cb..cd91f08 100644 |
17 | --- a/CMakeLists.txt | 17 | --- a/CMakeLists.txt |
18 | +++ b/CMakeLists.txt | 18 | +++ b/CMakeLists.txt |
19 | @@ -29,7 +29,8 @@ find_package (PkgConfig REQUIRED) | 19 | @@ -46,7 +46,8 @@ endif(APPLE) |
20 | SET (CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules) | ||
21 | PKG_CHECK_MODULES(GLIB gio-unix-2.0>=2.46.0 REQUIRED) | 20 | PKG_CHECK_MODULES(GLIB gio-unix-2.0>=2.46.0 REQUIRED) |
21 | pkg_check_modules(SMARTCOLS REQUIRED smartcols) | ||
22 | FIND_LIBRARY (RPMDB_LIBRARY NAMES rpmdb) | 22 | FIND_LIBRARY (RPMDB_LIBRARY NAMES rpmdb) |
23 | -find_package (LibSolv 0.6.21 REQUIRED COMPONENTS ext) | 23 | -find_package (LibSolv 0.6.30 REQUIRED COMPONENTS ext) |
24 | +PKG_CHECK_MODULES (LIBSOLV REQUIRED libsolv) | 24 | +PKG_CHECK_MODULES (LIBSOLV REQUIRED libsolv) |
25 | +set(LIBSOLV_LIBRARY ${LIBSOLV_LIBRARIES}) | 25 | +set(LIBSOLV_LIBRARY ${LIBSOLV_LIBRARIES}) |
26 | if (ENABLE_RHSM_SUPPORT) | 26 | if (ENABLE_RHSM_SUPPORT) |
27 | pkg_check_modules (RHSM REQUIRED librhsm) | 27 | pkg_check_modules (RHSM REQUIRED librhsm>=0.0.3) |
28 | include_directories (${RHSM_INCLUDE_DIRS}) | 28 | include_directories (${RHSM_INCLUDE_DIRS}) |
29 | -- | ||
30 | 2.14.2 | ||
31 | |||