Skip to contentSkip to conversation

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

PATCH New [email protected] 1 participant 1 message Oct 16, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 man-db: add RRECOMMENDS on glibc-utils for iconv

From: Ross Burton <[email protected]>

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

---
 meta/recipes-extended/man-db/man-db_2.11.2.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-extended/man-db/man-db_2.11.2.bb +3 -1
index 3884a531a6a..76e3786b269 100644
@@ -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):
Signature · 1 line
2.34.1