From 4a660aa437228b39befe04335a0d6f4e21ed5d2a Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Thu, 16 Mar 2017 10:20:53 -0400 Subject: which: fix it so the manpage will respect alternatives To fix: file /usr/share/man/man1/which.1 conflicts between attempted installs of debianutils-doc-4.8.1-r0.core2_64 and which-doc-2.21-r3.core2_64 (From OE-Core rev: ba304046307cd741694b25215b562d5f05c9c7a5) Signed-off-by: Paul Gortmaker Signed-off-by: Richard Purdie --- meta/recipes-extended/which/which_2.21.bb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta/recipes-extended') diff --git a/meta/recipes-extended/which/which_2.21.bb b/meta/recipes-extended/which/which_2.21.bb index a7687f6fe4..fac0fd3944 100644 --- a/meta/recipes-extended/which/which_2.21.bb +++ b/meta/recipes-extended/which/which_2.21.bb @@ -30,3 +30,6 @@ do_configure_prepend() { ALTERNATIVE_${PN} = "which" ALTERNATIVE_PRIORITY = "100" + +ALTERNATIVE_${PN}-doc = "which.1" +ALTERNATIVE_LINK_NAME[which.1] = "${mandir}/man1/which.1" -- cgit v1.2.3-54-g00ecf