diff options
author | Ross Burton <ross.burton@intel.com> | 2019-04-04 23:16:43 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-04-05 17:32:50 +0100 |
commit | d541a3072672d5bf9f7c7d4ade83c038b9d644b8 (patch) | |
tree | 96bfa344b511f98b3fa36ed3b424fb1eacaf8e44 /meta/recipes-devtools | |
parent | 6422a7f8ed8e925d492a249cb93636220165cf77 (diff) | |
download | poky-d541a3072672d5bf9f7c7d4ade83c038b9d644b8.tar.gz |
xmlto: clean up RDEPENDS
Because of differences in how RDEPENDS works for native/target, add libxml2 and
libxslt to RDEPENDS (so that native dependencies work), but also add
libxml2-utils (for xmllint) and libxslt-bin (for xsltproc) to target RDEPENDS.
Also add libxml2-native to DEPENDS as that is needed for the
docbook-(xml,xsl)-native catalog to be generated.
(From OE-Core rev: b571315acb59f61335c20849d2ce7f5059258c1a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/xmlto/xmlto_0.0.28.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb b/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb index 06dc002083..df798dfcdd 100644 --- a/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb +++ b/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb | |||
@@ -12,16 +12,18 @@ SRC_URI[md5sum] = "a1fefad9d83499a15576768f60f847c6" | |||
12 | SRC_URI[sha256sum] = "2f986b7c9a0e9ac6728147668e776d405465284e13c74d4146c9cbc51fd8aad3" | 12 | SRC_URI[sha256sum] = "2f986b7c9a0e9ac6728147668e776d405465284e13c74d4146c9cbc51fd8aad3" |
13 | 13 | ||
14 | inherit autotools | 14 | inherit autotools |
15 | RDEPENDS_class-native = "libxslt-native" | ||
16 | 15 | ||
17 | # xmlto needs getopt/xmllint/xsltproc/bash/tail at runtime | 16 | DEPENDS = "libxml2-native" |
17 | |||
18 | RDEPENDS_${PN} = "docbook-xml-dtd4 \ | 18 | RDEPENDS_${PN} = "docbook-xml-dtd4 \ |
19 | docbook-xsl-stylesheets \ | 19 | docbook-xsl-stylesheets \ |
20 | util-linux \ | 20 | util-linux \ |
21 | libxml2 \ | 21 | libxml2 \ |
22 | libxslt \ | ||
22 | bash \ | 23 | bash \ |
23 | " | 24 | " |
24 | RDEPENDS_${PN}_append_class-target = " \ | 25 | RDEPENDS_${PN}_append_class-target = " \ |
26 | libxml2-utils \ | ||
25 | libxslt-bin \ | 27 | libxslt-bin \ |
26 | coreutils \ | 28 | coreutils \ |
27 | " | 29 | " |