[oe-commits] Robert Yang : valgrind: depends on boost when ptest

git at git.openembedded.org git at git.openembedded.org
Sun Feb 8 08:00:47 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: 5650ece64f55044a8fd7fa3fce692dfb17006f8f
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=5650ece64f55044a8fd7fa3fce692dfb17006f8f

Author: Robert Yang <liezhi.yang at windriver.com>
Date:   Sat Jan 31 17:10:02 2015 -0800

valgrind: depends on boost when ptest

Fixed:
drd/tests/boost_thread.cpp:5:38: fatal error: boost/thread/condition.hpp: No such file or directory
 #include <boost/thread/condition.hpp>

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>

---

 meta/recipes-devtools/valgrind/valgrind_3.10.1.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb b/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb
index a25922a..543c8a6 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb
@@ -8,7 +8,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c46082167a314d785d012a244748d803 \
                     file://COPYING.DOCS;md5=8fdeb5abdb235a08e76835f8f3260215"
 
 X11DEPENDS = "virtual/libx11"
-DEPENDS = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}"
+DEPENDS = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)} \
+           ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'boost', '', d)} \
+        "
 
 SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \
            file://fixed-perl-path.patch \



More information about the Openembedded-commits mailing list