diff options
Diffstat (limited to 'meta/recipes-extended/findutils/findutils_4.4.2.bb')
-rw-r--r-- | meta/recipes-extended/findutils/findutils_4.4.2.bb | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/meta/recipes-extended/findutils/findutils_4.4.2.bb b/meta/recipes-extended/findutils/findutils_4.4.2.bb index b2898ed5d9..d80511c4dc 100644 --- a/meta/recipes-extended/findutils/findutils_4.4.2.bb +++ b/meta/recipes-extended/findutils/findutils_4.4.2.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | require findutils.inc | 1 | require findutils.inc |
2 | 2 | ||
3 | PR = "r2" | 3 | PR = "r3" |
4 | 4 | ||
5 | SRC_URI += "file://01-27017.patch \ | 5 | SRC_URI += "file://01-27017.patch \ |
6 | file://02-28824.patch \ | 6 | file://02-28824.patch \ |
@@ -13,19 +13,4 @@ SRC_URI[sha256sum] = "434f32d171cbc0a5e72cfc5372c6fc4cb0e681f8dce566a0de5b6fccd7 | |||
13 | # http://savannah.gnu.org/bugs/?27299 | 13 | # http://savannah.gnu.org/bugs/?27299 |
14 | CACHED_CONFIGUREVARS += "${@base_contains('DISTRO_FEATURES', 'libc-posix-clang-wchar', 'gl_cv_func_wcwidth_works=yes', '', d)}" | 14 | CACHED_CONFIGUREVARS += "${@base_contains('DISTRO_FEATURES', 'libc-posix-clang-wchar', 'gl_cv_func_wcwidth_works=yes', '', d)}" |
15 | 15 | ||
16 | do_install_append () { | ||
17 | if [ -e ${D}${bindir}/find ]; then | ||
18 | mv ${D}${bindir}/find ${D}${bindir}/find.${PN} | ||
19 | mv ${D}${bindir}/xargs ${D}${bindir}/xargs.${PN} | ||
20 | fi | ||
21 | } | ||
22 | |||
23 | pkg_postinst_${PN} () { | ||
24 | for i in find xargs; do update-alternatives --install ${bindir}/$i $i $i.${PN} 100; done | ||
25 | } | ||
26 | |||
27 | pkg_prerm_${PN} () { | ||
28 | for i in find xargs; do update-alternatives --remove $i $i.${PN}; done | ||
29 | } | ||
30 | |||
31 | BBCLASSEXTEND = "native" | 16 | BBCLASSEXTEND = "native" |