[OE-core] [CONSOLIDATED PULL 16/22] findutils: Use CACHED_CONFIGUREVARS to specify cached configure vars

Saul Wold sgw at linux.intel.com
Tue Jan 10 05:54:10 UTC 2012


From: Khem Raj <raj.khem at gmail.com>

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 at gmail.com>
---
 meta/recipes-extended/findutils/findutils_4.4.2.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-extended/findutils/findutils_4.4.2.bb b/meta/recipes-extended/findutils/findutils_4.4.2.bb
index c25ba4c..b2898ed 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 @@
 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
-- 
1.7.6.5





More information about the Openembedded-core mailing list