Skip to content

Commit bf5c880

Browse files
krajrpurdie
authored andcommitted
man-db: Add missing rdep for col utility
man utility calls col utility internally when formatting is asked for therefore it expects col to be in rootfs otherwise silently errors with retcode 3 meaning 'file not found' in this case its due to col not being found, other distros eg. gets this via bsdextrautils dependency Add it via packageconfig and keep is disabled by default since its deprecated and col does not exist on musl libssh2 ptest mansyntax.sh fails due to this error, which now works Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1 parent baa1cba commit bf5c880

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

meta/recipes-extended/man-db/man-db_2.13.0.bb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ inherit gettext pkgconfig autotools systemd
2323
EXTRA_OECONF = "--with-pager=less --with-systemdsystemunitdir=${systemd_system_unitdir}"
2424
EXTRA_AUTORECONF += "-I ${S}/gl/m4"
2525

26+
PACKAGECONFIG ??= ""
27+
2628
PACKAGECONFIG[bzip2] = "--with-bzip2=bzip2,ac_cv_prog_have_bzip2='',bzip2"
29+
# util-linux col is deprecated and only builds for glibc
30+
PACKAGECONFIG[col] = "--with-col=col,--with-col=,,util-linux-col"
2731
PACKAGECONFIG[gzip] = "--with-gzip=gzip,ac_cv_prog_have_gzip='',gzip"
2832
PACKAGECONFIG[lzip] = "--with-lzip=lzip,ac_cv_prog_have_lzip='',lzip"
2933
PACKAGECONFIG[lzma] = "--with-lzma=lzma,ac_cv_prog_have_lzma='',xz"

0 commit comments

Comments
 (0)