]> code.ossystems Code Review - openembedded-core.git/commitdiff
findutils: Use CACHED_CONFIGUREVARS to specify cached configure vars
authorKhem Raj <raj.khem@gmail.com>
Mon, 9 Jan 2012 19:45:56 +0000 (11:45 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 10 Jan 2012 17:28:28 +0000 (17:28 +0000)
Since this feature is depending on wchar support we only
cache is when we have libc-posix-clang-wchar enabled

Signed-off-by: Khem Raj <raj.khem@gmail.com>
meta/recipes-extended/findutils/findutils_4.4.2.bb

index c25ba4cd12b8e4e4dd8843f7727ba7caf9f7a92d..b2898ed5d95456b65de3c85374f2b3dc3c8729d3 100644 (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