Patchwork [CONSOLIDATED,PULL,16/22] findutils: Use CACHED_CONFIGUREVARS to specify cached configure vars

login
register
mail settings
Submitter Saul Wold
Date Jan. 10, 2012, 5:54 a.m.
Message ID <5e658319ee7250329f026eb7c697fc3436375327.1326174744.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/18867/
State New
Headers show

Comments

Saul Wold - Jan. 10, 2012, 5:54 a.m.
From: Khem Raj <raj.khem@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@gmail.com>
---
 meta/recipes-extended/findutils/findutils_4.4.2.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Patch

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