[oe-commits] [meta-openembedded] 20/22: rapidjson: avoid dependency to non-existing package

git at git.openembedded.org git at git.openembedded.org
Thu Aug 10 16:25:35 UTC 2017


This is an automated email from the git hooks/post-receive script.

martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit 9036121adf73226316d443cb6e7272ba07272a27
Author: Stefan Agner <stefan.agner at toradex.com>
AuthorDate: Wed Aug 9 20:03:24 2017 -0700

    rapidjson: avoid dependency to non-existing package
    
    RapidJSON is a header only library. The automatic package split
    leads to no 'rapidjson' package but a 'rapidjson-dev' package with
    a dependency to the 'rapidjson' package, leading to errors like:
     * Solver encountered 1 problem(s):
     * Problem 1/1:
     *   - nothing provides rapidjson = 1.1.0+git0+e5635fb27f-r0 needed by rapidjson-dev-1.1.0+git0+e5635fb27f-r0.core2-64
    
    Clear rapidjson-dev dependencies.
    
    Signed-off-by: Stefan Agner <stefan.agner at toradex.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb b/meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb
index 4cded07..8ab35d2 100644
--- a/meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb
+++ b/meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb
@@ -21,5 +21,6 @@ EXTRA_OECMAKE += "-DRAPIDJSON_BUILD_DOC=OFF -DRAPIDJSON_BUILD_TESTS=OFF -DRAPIDJ
 # RapidJSON is a header-only C++ library, so the main package will be empty.
 
 FILES_${PN}-dev += "${libdir}/cmake"
+RDEPENDS_${PN}-dev = ""
 
 BBCLASSEXTEND = "native nativesdk"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list