diff mbox series

man-db: add RRECOMMENDS on glibc-utils for iconv

Message ID 20231016170334.3505926-1-ross.burton@arm.com
State Accepted, archived
Commit 067c5e1e590fff557581b6bec94dcfd083d56fb1
Headers show
Series man-db: add RRECOMMENDS on glibc-utils for iconv | expand

Commit Message

Ross Burton Oct. 16, 2023, 5:03 p.m. UTC
From: Ross Burton <ross.burton@arm.com>

Sometimes man will want to call iconv to convert character encodings, so
recommend glibc-utils on glibc systems for that binary.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-extended/man-db/man-db_2.11.2.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/recipes-extended/man-db/man-db_2.11.2.bb b/meta/recipes-extended/man-db/man-db_2.11.2.bb
index 3884a531a6a..76e3786b269 100644
--- a/meta/recipes-extended/man-db/man-db_2.11.2.bb
+++ b/meta/recipes-extended/man-db/man-db_2.11.2.bb
@@ -52,7 +52,9 @@  FILES:${PN}-dev += "${libdir}/man-db/libman.so ${libdir}/${BPN}/libmandb.so"
 
 RDEPENDS:${PN} += "groff"
 RRECOMMENDS:${PN} += "less"
-RPROVIDES:${PN} += " man"
+# iconv from glibc-utils can be used to transform encoding
+RRECOMMENDS:${PN}:append:libc-glibc = " glibc-utils"
+RPROVIDES:${PN} += "man"
 
 def compress_pkg(d):
     if bb.utils.contains("INHERIT", "compress_doc", True, False, d):