findutils: Use CACHED_CONFIGUREVARS to specify cached configure vars

Since this feature is depending on wchar support we only
cache is when we have libc-posix-clang-wchar enabled

(From OE-Core rev: 783999bbe239b3a66cf87f7018a3087187c9bc11)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj 2012-01-09 11:45:56 -08:00 committed by Richard Purdie
parent 469b134948
commit d11425db32
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
require findutils.inc
PR = "r1"
PR = "r2"
SRC_URI += "file://01-27017.patch \
file://02-28824.patch \
@ -11,7 +11,7 @@ SRC_URI[md5sum] = "351cc4adb07d54877fa15f75fb77d39f"
SRC_URI[sha256sum] = "434f32d171cbc0a5e72cfc5372c6fc4cb0e681f8dce566a0de5b6fccd702b62a"
# http://savannah.gnu.org/bugs/?27299
EXTRA_OECONF += "gl_cv_func_wcwidth_works=yes"
CACHED_CONFIGUREVARS += "${@base_contains('DISTRO_FEATURES', 'libc-posix-clang-wchar', 'gl_cv_func_wcwidth_works=yes', '', d)}"
do_install_append () {
if [ -e ${D}${bindir}/find ]; then